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

Add the lock file to allow dynamic menus

git-svn-id: file:///svn/phpbb/trunk@6361 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2006-09-08 20:06:00 +00:00
parent 6568ab756c
commit 227980c7d1
2 changed files with 15 additions and 4 deletions

View File

@@ -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'))