Nextrek
Diff Revisions
378
vs
400
for /Android/SmartCharging/endPoints/nightly/get_immagini.php
|
@@ -4,6 +4,7 @@ |
4 |
4 |
|
|
5 |
5 |
|
require_once("LocalRepository.php"); |
6 |
6 |
|
require_once("CommentRepository.php"); |
|
7 |
+ |
require_once("constants.php"); |
7 |
8 |
|
|
8 |
9 |
|
$servername = "localhost"; |
9 |
10 |
|
$username = "smartcharging"; |
|
@@ -41,7 +42,7 @@ |
41 |
42 |
|
|
42 |
43 |
|
$risposta["id"] = $params["id"]; |
43 |
44 |
|
$risposta["type"] = $type; |
44 |
|
- |
$risposta["imgs"] = IMAGES_PATH.$object->imgs; |
|
45 |
+ |
$risposta["imgs"] = $object->imgs; |
45 |
46 |
|
$risposta["return"] = 0; |
46 |
47 |
|
|
47 |
48 |
|
} |