summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
authorChristian Klinger2016-07-13 12:41:27 +0200
committerChristian Klinger2016-07-13 12:41:27 +0200
commit6cd6f0db49d15a455b92e038aa219c375cd0a1be (patch)
tree111bbb90404a72656e901c16a447ea0665457b77 /config.php.example
parentSquashed commit of the following: (diff)
parent[util] Made traceError output prettier by using HTML (diff)
downloadslx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.tar.gz
slx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.tar.xz
slx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.zip
Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into modularization
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example30
1 files changed, 21 insertions, 9 deletions
diff --git a/config.php.example b/config.php.example
index 14978897..82fd1b77 100644
--- a/config.php.example
+++ b/config.php.example
@@ -27,12 +27,24 @@ define('CONFIG_VMSTORE_DIR', '/srv/openslx/nfs');
define('CONFIG_PROXY_CONF', '/opt/openslx/proxy/config');
/* for the dozmod API proxy cache */
-define('CONFIG_DOZMOD_EXPIRE', 60*60); // 1 Minute
-
-// Sort order for menu - optional, if missing, order will be alphabetically
-$MENU_CAT_SORT_ORDER = array('main.content' => 0, 'main.settings-client' => 1, 'main.settings-server' => 2, 'main.status' => 3, 'main.users' => 4);
-$MENU_SETTING_SORT_ORDER = array(
- 'news' => 0, 'sysconfig' => 1, 'baseconfig' => 2, 'locations' => 3, // main.content
- 'serversetup' => 0, 'internetaccess' => 1, 'vmstore' => 2, 'webinterface' => 3, 'backup' => 4, // main.settings
- 'systemstatus' => 0, 'eventlog' => 1, 'syslog' => 2, 'statistics' => 3 // main.status
-);
+define('CONFIG_DOZMOD_URL', 'http://127.0.0.1:9080');
+define('CONFIG_DOZMOD_EXPIRE', 60);
+
+// Sort order for menu
+// Optional - if missing, will be sorted by module id (internal name)
+// Here it is also possible to assign a module to a different category,
+// overriding the config.json entry
+$MENU_CAT_OVERRIDE = array(
+ 'main.content' => array(
+ 'news', 'locations', 'exams', 'dozmod', 'translation'
+ ),
+ 'main.settings-server' => array(
+ 'serversetup', 'vmstore', 'webinterface', 'backup'
+ ),
+ 'main.settings-client' => array(
+ 'sysconfig', 'baseconfig', 'minilinux'
+ ),
+ 'main.status' => array(
+ 'systemstatus', 'eventlog', 'syslog', 'statistics'
+ )
+); \ No newline at end of file