mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 10:57:27 +08:00
imporve cleanup_cli
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user