Commit d932ee42 authored by Okthane's avatar Okthane

update

parent 68d75900
...@@ -11,7 +11,7 @@ require_once "vendor/autoload.php"; ...@@ -11,7 +11,7 @@ require_once "vendor/autoload.php";
if($_SERVER["REQUEST_METHOD"] == "POST") if($_SERVER["REQUEST_METHOD"] == "POST")
{ {
if(isset($_FILES["photo"]) && $_FILES["photo"]["error"] == 0) if(isset($_FILES["photo"]) && $_FILES["photo"]["error"] == 0 )
{ {
$allowed = array( $allowed = array(
"jpg" => "image/jpeg", "jpg" => "image/jpeg",
......
...@@ -219,7 +219,7 @@ async function photoDetourage(formData){ ...@@ -219,7 +219,7 @@ async function photoDetourage(formData){
url: URL_DETOURAGE, url: URL_DETOURAGE,
method: 'POST', method: 'POST',
enctype: 'multipart/form-data', enctype: 'multipart/form-data' ,
data: formData, data: formData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment