瀏覽代碼

Added default category in admin settings

Yannick Warnier 14 年之前
父節點
當前提交
f15242558e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      main/admin/settings.php

+ 3 - 0
main/admin/settings.php

@@ -86,6 +86,9 @@ $interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAd
 
 // setting the name of the tool
 $tool_name = get_lang('DokeosConfigSettings');
+if(empty($_GET['category'])) {
+    $_GET['category'] = 'Platform';
+}
 
 // Build the form
 if (!empty($_GET['category']) && !in_array($_GET['category'], array('Plugins', 'stylesheets', 'Search'))) {