diff --git a/configs/php.ini b/configs/php.ini index e7ac302..504449c 100644 --- a/configs/php.ini +++ b/configs/php.ini @@ -5,4 +5,7 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT log_errors = On display_errors = Off -display_startup_errors = Off \ No newline at end of file +display_startup_errors = Off + +max_execution_time = 300 ; 5 minutes +max_input_time = 300 ; time to parse input data (e.g. POST) \ No newline at end of file diff --git a/src/templates/main.html.php b/src/templates/main.html.php index 33ea476..5122d93 100644 --- a/src/templates/main.html.php +++ b/src/templates/main.html.php @@ -91,7 +91,7 @@ if (file_exists(ROOT . DS . 'notice.txt'))

You can post a file using the POST variable file

CURL example -
curl -s -F "file=@myphoto.jpg" "upload"
+
curl -s -F "file=@myphoto.jpg" "api/upload"
Output