1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-22 00:32:29 +02:00

[ticket/15772] Hide warning in acp when allow_install_dir is true

PHPBB3-15772
This commit is contained in:
rubencm 2018-09-15 09:13:01 +00:00 committed by Marc Alexander
parent cbb56a9e3d
commit f3a2c99a14
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -639,7 +639,7 @@ class acp_main
}
// Warn if install is still present
if (file_exists($phpbb_root_path . 'install') && !is_file($phpbb_root_path . 'install'))
if (!defined('IN_INSTALL') && !$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);
}