1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

Allow ACP access if install/ is present and display the generic board disabled message otherwise so that a user does not know the reason for it being disabled

git-svn-id: file:///svn/phpbb/trunk@6276 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-08-12 15:37:28 +00:00
parent f5cabf864c
commit 560c570823
4 changed files with 18 additions and 3 deletions

View File

@@ -456,6 +456,12 @@ class acp_main
$template->assign_var('S_DEBUG_EXTRA', true);
}
// Warn if install is still present
if (file_exists($phpbb_root_path . 'install'))
{
$template->assign_var('S_REMOVE_INSTALL', true);
}
$this->tpl_name = 'acp_main';
$this->page_title = 'ACP_MAIN';
}