diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-24 14:44:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-24 14:44:19 +0000 |
commit | 3cd007c49d776b4e76f939dbd7d7c328bd09abe9 (patch) | |
tree | 287c795585bd490712255b17d0962ce5e838c36b /phpBB/install | |
parent | ac37f87105173ae50c357c96ffee43ef4d4b41f5 (diff) | |
download | forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.gz forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.bz2 forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.tar.xz forums-3cd007c49d776b4e76f939dbd7d7c328bd09abe9.zip |
change cache:: to phpbb_cache::
git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/database_update.php | 16 | ||||
-rw-r--r-- | phpBB/install/index.php | 16 |
2 files changed, 0 insertions, 32 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index e43e8ad142..583ec0861f 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -86,22 +86,6 @@ $user = new user(); $cache = new acm(); $db = new $sql_db(); -// Add own hook handler, if present. :o -if (file_exists(PHPBB_ROOT_PATH . 'includes/hooks/index.' . PHP_EXT)) -{ - require(PHPBB_ROOT_PATH . 'includes/hooks/index.' . PHP_EXT); - $phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display'))); - - foreach (cache::obtain_hooks() as $hook) - { - @include(PHPBB_ROOT_PATH . 'includes/hooks/' . $hook . '.' . PHP_EXT); - } -} -else -{ - $phpbb_hook = false; -} - // Connect to DB $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false); diff --git a/phpBB/install/index.php b/phpBB/install/index.php index d43d0f529a..a68cdab988 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -249,22 +249,6 @@ $auth = new auth(); $cache = new acm(); $template = new template(); -// Add own hook handler, if present. :o -if (file_exists(PHPBB_ROOT_PATH . 'includes/hooks/index.' . PHP_EXT)) -{ - require(PHPBB_ROOT_PATH . 'includes/hooks/index.' . PHP_EXT); - $phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display'))); - - foreach (cache::obtain_hooks() as $hook) - { - @include(PHPBB_ROOT_PATH . 'includes/hooks/' . $hook . '.' . PHP_EXT); - } -} -else -{ - $phpbb_hook = false; -} - // Set some standard variables we want to force $config = array( 'load_tplcompile' => '1' |