Exemplo n.º 1
0
 function initEnvironment()
 {
     o(new H2Configuration(), config)->load();
     load_l10n('');
     o(new H2Database(), db)->connect();
     profile_point('H2Dispatcher.initEnvironment()');
     date_default_timezone_set($GLOBALS['config']['geo']['timezone']);
     return $this;
 }
Exemplo n.º 2
0
 function __construct($name)
 {
     $this->name = $name;
     load_l10n($name . '/');
 }