mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 05:56:22 +05:30
[TASK] typo
This commit is contained in:
parent
5d6ec84614
commit
bc94a4da66
1 changed files with 3 additions and 1 deletions
|
|
@ -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