|
|
|
@ -25,14 +25,10 @@ function rrmdir($dir) { |
|
|
|
|
|
|
|
//run upgrade specific stuff
|
|
|
|
if(isGraterThan("2.3")) {// 2.4, 2.5, ...
|
|
|
|
echo "yes"; |
|
|
|
if(file_exists("vendor/")){ |
|
|
|
rrmdir("vendor/"); |
|
|
|
} |
|
|
|
} |
|
|
|
else{ |
|
|
|
echo "no"; |
|
|
|
} |
|
|
|
|
|
|
|
if(isGraterThan("2.3")) { |
|
|
|
file_put_contents("index.php",file_get_contents("system/upgrade/index.php")); |
|
|
|
|