コード例 #1
0
ファイル: phpbb.php プロジェクト: kairion/customisation-db
 /**
  * Static Constructor.
  */
 public static function initialise()
 {
     global $auth, $config, $db, $template, $user, $cache;
     self::$auth =& $auth;
     self::$config =& $config;
     self::$db =& $db;
     self::$template =& $template;
     self::$user =& $user;
     self::$cache =& $cache;
     // Start session management
     if (!defined('PHPBB_INCLUDED')) {
         self::$user->session_begin();
         self::$auth->acl(self::$user->data);
         self::$user->setup();
     }
     self::$theme_data = self::$user->theme;
 }