Browse Source

You don't need to set config options each time, better set them once

Peter Hoffmann 8 years ago
parent
commit
115188c2d0
1 changed files with 1 additions and 7 deletions
  1. 1 7
      php/api.php

+ 1 - 7
php/api.php

@@ -5,12 +5,6 @@
 # @copyright	2015 by Tobias Reich
 ###
 
-@ini_set('max_execution_time', '200');
-@ini_set('post_max_size', '200M');
-@ini_set('upload_max_size', '200M');
-@ini_set('upload_max_filesize', '20M');
-@ini_set('max_file_uploads', '100');
-
 if (!empty($_POST['function'])||!empty($_GET['function'])) {
 
 	session_start();
@@ -96,4 +90,4 @@ if (!empty($_POST['function'])||!empty($_GET['function'])) {
 
 }
 
-?>
+?>