Skip to content

Commit

Permalink
Merge pull request #144 from Kanti/master
Browse files Browse the repository at this point in the history
bugifx version 2.5.1
  • Loading branch information
Kanti committed Feb 23, 2015
2 parents b4362a6 + 801f6b2 commit 3c42ea9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cache/installedVersion.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"id": 782014,
"tag_name": "v2.5"
"tag_name": "v2.5.1"
}
1 change: 1 addition & 0 deletions system/upgrade/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
$config_file = 'config/config.ini';

require 'system/vendor/autoload.php';
require 'system/htmly.php';
4 changes: 3 additions & 1 deletion system/upgrade/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ function rrmdir($dir)
}
reset($objects);
rmdir($dir);
} else if (is_file($dir)) {
unlink($dir);
}
}

Expand All @@ -35,7 +37,7 @@ function rrmdir($dir)
}


if(!config("dev")){
if (!config("dev")) {
file_put_contents("index.php", file_get_contents("system/upgrade/index.php"));
rrmdir("system/upgrade/");
}

0 comments on commit 3c42ea9

Please sign in to comment.