imporve cleanup_cli

This commit is contained in:
xiaomlove
2021-06-15 10:05:33 +08:00
parent 3fd591c6ae
commit e24a146841
2 changed files with 4 additions and 9 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ if (isset($_SERVER['argv'][1])) {
try {
if ($force) {
require_once($rootpath . 'include/cleanup.php');
return docleanup(1, true);
require_once(ROOT_PATH . 'include/cleanup.php');
$result = docleanup(1, true);
} else {
$result = autoclean();
}