mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
commit
3c42ea9f67
3 changed files with 5 additions and 2 deletions
2
cache/installedVersion.json
vendored
2
cache/installedVersion.json
vendored
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 782014,
|
||||
"tag_name": "v2.5"
|
||||
"tag_name": "v2.5.1"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
$config_file = 'config/config.ini';
|
||||
|
||||
require 'system/vendor/autoload.php';
|
||||
require 'system/htmly.php';
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Add a link
Reference in a new issue