소스 검색

Minor - Remove check on MAX_FILE_SIZE in the admin settings update as it is NOT a setting for Chamilo, just a setting for the form

Yannick Warnier 11 년 전
부모
커밋
40300fae68
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      main/admin/settings.php

+ 1 - 0
main/admin/settings.php

@@ -238,6 +238,7 @@ if (!empty($_GET['category']) && !in_array($_GET['category'], array('Plugins', '
         $keys = array();
 
         foreach ($values as $key => $value) {
+            if (strcmp($key,'MAX_FILE_SIZE')===0) { continue; }
             if (in_array($key, $settings_to_avoid)) { continue; }
             // Avoid form elements which have nothing to do with settings
             if ($key == 'search_field' or $key == 'submit_fixed_in_bottom') { continue; }