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:
@@ -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'))
|
||||
|
Reference in New Issue
Block a user