Skip to content
Snippets Groups Projects
Commit 0a8f6754 authored by Sebastien's avatar Sebastien
Browse files

remove link to production on php files in legacy

parent 080c4650
Branches
Tags
1 merge request!70tuleap-188 : fix hard link to production on project deletion
Pipeline #873 passed
...@@ -310,7 +310,7 @@ ...@@ -310,7 +310,7 @@
if(!file_exists("create.zip")) { if(!file_exists("create.zip")) {
$retours["value"] .= "Download of create.zip... "; $retours["value"] .= "Download of create.zip... ";
downloadFile("http://project.memorekall.fr/create.zip", "create.zip"); downloadFile($_ENV('LEGACY_URL') . "create.zip", "create.zip");
} }
$zip = new ZipArchive; $zip = new ZipArchive;
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
echo "Copie de create.zip -> ".$entry."/php/create.zip\n"; echo "Copie de create.zip -> ".$entry."/php/create.zip\n";
copy("create.zip", $entry."/php/create.zip"); copy("create.zip", $entry."/php/create.zip");
$url = "http://project.memorekall.com/".$entry."/php/project.php?update=now"; $url = $_ENV('LEGACY_URL') .$entry."/php/project.php?update=now";
echo "Update de ".$url."\n"; echo "Update de ".$url."\n";
openUrl($url); openUrl($url);
} }
......
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
if(!file_exists("create.zip")) { if(!file_exists("create.zip")) {
$retours["value"] .= "Download of create.zip... "; $retours["value"] .= "Download of create.zip... ";
downloadFile("http://project.memorekall.fr/create.zip", "create.zip"); downloadFile($_ENV('LEGACY_URL') . "create.zip", "create.zip");
} }
$zip = new ZipArchive; $zip = new ZipArchive;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment