mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.
git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2040,33 +2040,4 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @package module_install
|
||||
*/
|
||||
class acp_styles_info
|
||||
{
|
||||
function module()
|
||||
{
|
||||
return array(
|
||||
'filename' => 'acp_styles',
|
||||
'title' => 'ACP_CAT_STYLES',
|
||||
'version' => '1.0.0',
|
||||
'modes' => array(
|
||||
'style' => array('title' => 'ACP_STYLES', 'auth' => 'acl_a_styles'),
|
||||
'template' => array('title' => 'ACP_TEMPLATES', 'auth' => 'acl_a_styles'),
|
||||
'theme' => array('title' => 'ACP_THEMES', 'auth' => 'acl_a_styles'),
|
||||
'imageset' => array('title' => 'ACP_IMAGESETS', 'auth' => 'acl_a_styles'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
function install()
|
||||
{
|
||||
}
|
||||
|
||||
function uninstall()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user