aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-09-08 20:06:00 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-09-08 20:06:00 +0000
commit227980c7d1efc3bfd0bf0bd89777b79b584c15f7 (patch)
treefd47f6c7abf7af94c89dd8cad66a6bc0c8e1e7cf /phpBB/install/index.php
parent6568ab756c636490ce74c5beb63b53a353e49fbe (diff)
downloadforums-227980c7d1efc3bfd0bf0bd89777b79b584c15f7.tar
forums-227980c7d1efc3bfd0bf0bd89777b79b584c15f7.tar.gz
forums-227980c7d1efc3bfd0bf0bd89777b79b584c15f7.tar.bz2
forums-227980c7d1efc3bfd0bf0bd89777b79b584c15f7.tar.xz
forums-227980c7d1efc3bfd0bf0bd89777b79b584c15f7.zip
Add the lock file to allow dynamic menus
git-svn-id: file:///svn/phpbb/trunk@6361 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-xphpBB/install/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index fed5b67545..6668416c7d 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -286,6 +286,10 @@ class module
}
$module = $this->filename;
+ if (!class_exists($module))
+ {
+ $this->error('Module not accessible', __LINE__, __FILE__);
+ }
$this->module = new $module($this);
if (method_exists($this->module, 'main'))