Merge pull request #144 from Kanti/master

bugifx version 2.5.1
This commit is contained in:
Kanti 2015-02-23 08:28:41 +01:00
commit 3c42ea9f67
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{
"id": 782014,
"tag_name": "v2.5"
"tag_name": "v2.5.1"
}

View file

@ -1,4 +1,5 @@
<?php
$config_file = 'config/config.ini';
require 'system/vendor/autoload.php';
require 'system/htmly.php';

View file

@ -24,6 +24,8 @@ function rrmdir($dir)
}
reset($objects);
rmdir($dir);
} else if (is_file($dir)) {
unlink($dir);
}
}
@ -35,7 +37,7 @@ if (isGraterThan("2.3")) {// 2.4, 2.5, ...
}
if(!config("dev")){
if (!config("dev")) {
file_put_contents("index.php", file_get_contents("system/upgrade/index.php"));
rrmdir("system/upgrade/");
}