1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15772] Remove not needed check for IN_INSTALL

PHPBB3-15772
This commit is contained in:
Marc Alexander
2018-09-22 22:20:30 +02:00
parent 4fbf1a5b5c
commit 9929ff1fef

View File

@@ -639,7 +639,7 @@ class acp_main
}
// Warn if install is still present
if (!defined('IN_INSTALL') && !$phpbb_container->getParameter('allow_install_dir') && file_exists($phpbb_root_path . 'install') && !is_file($phpbb_root_path . 'install'))
if (!$phpbb_container->getParameter('allow_install_dir') && file_exists($phpbb_root_path . 'install') && !is_file($phpbb_root_path . 'install'))
{
$template->assign_var('S_REMOVE_INSTALL', true);
}