2013-02-01 Junichi Satoh <junichi@rworks.jp>

* godmode/setup/setup.php: Fixed error without enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2013-02-01 04:33:10 +00:00
parent b8ce800b7a
commit 8b67d72b9d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-02-01 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Fixed error without enterprise.
2013-01-31 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,

View File

@ -72,7 +72,9 @@ $buttons['general'] = array('active' => false,
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/setup/setup&amp;section=general">' .
html_print_image("images/god6.png", true, array ("title" => __('General'))) . '</a>');
$buttons = setup_enterprise_add_Tabs($buttons);
if (enterprise_installed()) {
$buttons = setup_enterprise_add_Tabs($buttons);
}
$buttons['auth'] = array('active' => false,
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/setup/setup&amp;section=auth">' .
@ -94,7 +96,9 @@ if (check_acl ($config['id_user'], 0, "AW")) {
}
}
$subpage = setup_enterprise_add_subsection_main($section, $buttons);
if (enterprise_installed()) {
$subpage = setup_enterprise_add_subsection_main($section, $buttons);
}
switch ($section) {
case 'general':