mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15772] Hide warning in acp when allow_install_dir is true
PHPBB3-15772
This commit is contained in:
parent
4f5a8f6983
commit
db36318ad0
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ class acp_main
|
||||||
}
|
}
|
||||||
|
|
||||||
// Warn if install is still present
|
// 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);
|
$template->assign_var('S_REMOVE_INSTALL', true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue