We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae3b41 commit 0ded734Copy full SHA for 0ded734
interface/web/admin/lib/module.conf.php
@@ -78,6 +78,20 @@
78
'link' => 'admin/system_config_edit.php?id=1',
79
'html_id' => 'interface_config');
80
81
+//**** Load the settings pages of all installed themes
82
+$menu_dir = ISPC_WEB_PATH.'/admin/lib/interface.d';
83
+
84
+if (is_dir($menu_dir)) {
85
+ if ($dh = opendir($menu_dir)) {
86
+ //** Go through all files in the menu dir
87
+ while (($file = readdir($dh)) !== false) {
88
+ if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php') {
89
+ include_once($menu_dir . '/' . $file);
90
+ }
91
92
93
+}
94
95
include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
96
97
$module['nav'][] = array( 'title' => 'Interface',
0 commit comments