Changeset 20610 for events/phpframework/plain_php/trunk/index.php
- Timestamp:
- 10/03/08 17:45:22 (3 months ago)
- Files:
-
- 1 modified
-
events/phpframework/plain_php/trunk/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/plain_php/trunk/index.php
r20339 r20610 3 3 4 4 5 $c = new ApplicationContext; 6 $c->setBasePath(dirname(__FILE__)) 7 ->setBaseUrl('http://localhost/phwittr') 8 ->setTemplateBasePath(dirname(__FILE__) . '/resource') 9 ->setTemplateBaseUrl('http://localhost/phwittr/resource') 10 ->setDsn('mysql:dbname=phwittr;host=127.0.0.1') 11 ->setDbUser('phwittr') 12 ->setCookieDomain('localhost') 13 ->setCookiePath('/phwittr') 14 ->setDbPassword('phwittr'); 15 ObjectBuilder::setApplicationContext($c); 16 17 5 18 $response = ref(new PhwittrFront)->process(new Request('UTF-8'), $c, new RendererBuilder($c)); 6 /* TODO 例外handlerをつける */
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)