Nextrek
Diff Revisions
310
vs
441
for /Android/SmartCharging/endPoints/registrazione_locale.php
|
@@ -78,10 +78,10 @@ |
78 |
78 |
|
|
79 |
79 |
|
if ($risposta["return"] == 0 && count($localImgs)>0) { |
80 |
80 |
|
foreach($localImgs as $image) { |
81 |
|
- |
rename("./images/temp/".session_id()."/".$image, "./images/".$image); |
|
81 |
+ |
rename("./images/temp/".$image, "./images/".$image); |
82 |
82 |
|
} |
83 |
83 |
|
//rmdir("./images/temp/".session_id()."/"); |
84 |
|
- |
deleteDirectory("./images/temp/".session_id()."/"); |
|
84 |
+ |
//deleteDirectory("./images/temp/".session_id()."/"); |
85 |
85 |
|
$local_repo->addImages($risposta["local_id"], $localImgs); |
86 |
86 |
|
} |
87 |
87 |
|
|