Explorar o código

update location

causefx %!s(int64=8) %!d(string=hai) anos
pai
achega
462ef0f900
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/functions/update-functions.php

+ 1 - 1
api/functions/update-functions.php

@@ -4,7 +4,7 @@
 // Upgrade the installation
 function upgradeInstall($branch = 'v2-master', $stage) {
     $url = 'https://github.com/causefx/Organizr/archive/'.$branch.'.zip';
-    $file = "upgrade.zip";
+    $file = dirname(__DIR__,2).DIRECTORY_SEPARATOR."upgrade.zip";
     $source = dirname(__DIR__,2).DIRECTORY_SEPARATOR.'upgrade'.DIRECTORY_SEPARATOR.'Organizr-'.str_replace('v2','2',$branch).DIRECTORY_SEPARATOR;
     $cleanup = dirname(__DIR__,2) .DIRECTORY_SEPARATOR."upgrade".DIRECTORY_SEPARATOR;
     $destination = dirname(__DIR__,2).DIRECTORY_SEPARATOR;