Skip to content
Snippets Groups Projects
Commit 27bdc58e authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

Update backTasks.php

parent 5809b8f8
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ if (isset($_GET["loadClientNavbar"])) {
if ($autoUpdate=="1") {
$updateState = json_decode(file_get_contents($websiteUrl."vbcms-admin/backTasks/?updateVBcms&session=".$instructions["arguments"]), true);
if ($updateState["success"]==true) {
file_get_contents($websiteUrl."update.php");
file_get_contents($websiteUrl."update.php?silentUpdate");
$result["result"] = "success";
echo json_encode($result);
} else {
......@@ -46,7 +46,7 @@ if (isset($_GET["loadClientNavbar"])) {
$updateState = json_decode(file_get_contents($websiteUrl."vbcms-admin/backTasks/?updateVBcms&session=".$instructions["arguments"]), true);
if ($updateState["success"]==true) {
file_get_contents($websiteUrl."update.php");
file_get_contents($websiteUrl."update.php?silentUpdate");
$result["result"] = "success";
echo json_encode($result);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment