diff options
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' |
