Show
Ignore:
Timestamp:
10/01/08 08:02:29 (3 months ago)
Author:
anatoo
Message:

テンプレート周りいじった

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/plain_php/trunk/init.php

    r20044 r20339  
    88    set_include_path(get_include_path() . PATH_SEPARATOR . $p); 
    99 
     10include_once dirname(__FILE__) . '/default.php'; 
    1011include_once dirname(__FILE__) . '/core/function.php';     
     12include_once dirname(__FILE__) . '/model/mail/mail.php'; 
    1113 
    1214 
     15$c = new ApplicationContext(dirname(__FILE__), 'http://localhost/phwittr',  
     16                            dirname(__FILE__) . '/resource', 'http://localhost/phwittr/resource', 
     17                            'localhost', 
     18                            '/phwittr'); 
     19ObjectBuilder::setApplicationContext($c); 
     20 
     21mb_language('japanese'); 
     22mb_internal_encoding(Pool::getInstance()->fetchConfig()->encoding);