Browse Source

Merge pull request #144 from Kanti/master

bugifx version 2.5.1
pull/146/merge v2.5.1
Kanti 10 years ago
parent
commit
3c42ea9f67
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      cache/installedVersion.json
  2. +1
    -0
      system/upgrade/index.php
  3. +3
    -1
      system/upgrade/run.php

+ 1
- 1
cache/installedVersion.json View File

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

+ 1
- 0
system/upgrade/index.php View File

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

+ 3
- 1
system/upgrade/run.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/");
}

Loading…
Cancel
Save