Till Brehm
2016-07-23 b67678c2db875b10047c3060e7ab959e06d6b099
interface/web/admin/system_config_edit.php
@@ -89,7 +89,7 @@
      $available_dashlets_txt = '';
      $handle = @opendir(ISPC_WEB_PATH.'/dashboard/dashlets');
      while ($file = @readdir($handle)) {
         if ($file != '.' && $file != '..' && !is_dir($file)) {
         if ($file != '.' && $file != '..' && !is_dir(ISPC_WEB_PATH.'/dashboard/dashlets/'.$file)) {
            $available_dashlets_txt .= '<a href="javascript:void(0);" class="addPlaceholderContent">['.substr($file, 0, -4).']<pre class="addPlaceholderContent" style="display:none;">['.substr($file, 0, -4).'],</pre></a> ';
         }
      }
@@ -183,7 +183,7 @@
       * (only the first time!)
       */
      if (($section == 'domains') &&
         ($_SESSION['use_domain_module_old_value'] == '') &&
         ($_SESSION['use_domain_module_old_value'] == '' || $_SESSION['use_domain_module_old_value'] == 'n') &&
         ($server_config_array['domains']['use_domain_module'] == 'y')){
         $sql = "REPLACE INTO domain (sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain ) " .
            "SELECT sys_userid, sys_groupid, sys_perm_user, sys_perm_group, sys_perm_other, domain " .
@@ -206,8 +206,7 @@
         $data = file_get_contents($path);
         $base64 = 'data:image/' . $type . ';base64,' . base64_encode($data);
         $app->db->query("UPDATE sys_ini SET custom_logo = ? WHERE sysini_id = ?", $base64, $this->id);
      }
      */
      }*/
      // Maintenance mode
      if($server_config_array['misc']['maintenance_mode'] == 'y'){