diff --git a/capsule-prototype/php/project.php b/capsule-prototype/php/project.php
index 86840d9aacb1341b6fbbb505cbc28a901ec7d6ab..972893a200519b4aeff8e35d461089230f12d78b 100644
--- a/capsule-prototype/php/project.php
+++ b/capsule-prototype/php/project.php
@@ -310,7 +310,7 @@
 		
 		if(!file_exists("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;
diff --git a/legacy/la-page-des-malins.php b/legacy/la-page-des-malins.php
index 4b9b5bb3cfc869a95710ef1115bfeb251bf13c11..6332bf3af7764d5f27484beb6c8e3bd93b686126 100644
--- a/legacy/la-page-des-malins.php
+++ b/legacy/la-page-des-malins.php
@@ -39,7 +39,7 @@
 			            	echo "Copie de create.zip  ->  ".$entry."/php/create.zip\n";
 							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";
 							openUrl($url);
 						}
diff --git a/legacy/php/project.php b/legacy/php/project.php
index 5b0c73b0f03ce8b5c83231be247af5ca51fd3ed8..a189242ec3d0c695b73c4084b74c6c9faf8bce04 100644
--- a/legacy/php/project.php
+++ b/legacy/php/project.php
@@ -309,7 +309,7 @@
 		
 		if(!file_exists("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;