upload image

This commit is contained in:
2020-12-04 11:07:12 +07:00
parent 4187fc7239
commit df39cdf602
10 changed files with 60 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ class ConfigController extends Controller {
]
];
$ip = "192.168.0.42";
$tempConfig = json_decode(file_get_contents("http://192.168.1.241:4004/ReadAPIConfig", false, stream_context_create($options)), true);
$tempConfig = json_decode(file_get_contents("http://localhost:4004/ReadAPIConfig", false, stream_context_create($options)), true);
if ($tempConfig['status']) {
$t = json_decode($tempConfig['data'], true);
$temp = explode("/", $t['url']);