aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-08-12 15:37:28 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-08-12 15:37:28 +0000
commit560c570823877b6fb3cb78e6ad0fdf26a1427f7f (patch)
treeb2afdcdd6e977aa07bf5e130176bb6d71f50b91b /phpBB/adm
parentf5cabf864c7bf29f5415a1ed315dc08b35f759c2 (diff)
downloadforums-560c570823877b6fb3cb78e6ad0fdf26a1427f7f.tar
forums-560c570823877b6fb3cb78e6ad0fdf26a1427f7f.tar.gz
forums-560c570823877b6fb3cb78e6ad0fdf26a1427f7f.tar.bz2
forums-560c570823877b6fb3cb78e6ad0fdf26a1427f7f.tar.xz
forums-560c570823877b6fb3cb78e6ad0fdf26a1427f7f.zip
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
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/index.php1
-rw-r--r--phpBB/adm/style/acp_main.html7
2 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 0c317d3d4c..336afc0de1 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -11,6 +11,7 @@
/**
*/
define('IN_PHPBB', 1);
+define('ADMIN_START', 1);
define('NEED_SID', true);
// Include files
diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html
index d68e9d2547..a3a3e90c00 100644
--- a/phpBB/adm/style/acp_main.html
+++ b/phpBB/adm/style/acp_main.html
@@ -11,6 +11,13 @@
</div>
<!-- ENDIF -->
+<!-- IF S_REMOVE_INSTALL -->
+ <div class="errorbox">
+ <h3>{L_WARNING}</h3>
+ <p>{L_REMOVE_INSTALL}</p>
+ </div>
+<!-- ENDIF -->
+
<table cellspacing="1">
<caption>{L_FORUM_STATS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />