mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-18 19:59:30 +03:00
Remove jtable_respond from the CLI script.
This commit is contained in:
parent
f081d96b0c
commit
9d8d909c18
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ if(php_sapi_name() !== 'cli') {
|
||||||
$current_user['username']='<system>';
|
$current_user['username']='<system>';
|
||||||
rotatelogs();
|
rotatelogs();
|
||||||
} else {
|
} else {
|
||||||
jtable_respond(null, 'error', 'Invalid action');
|
echo "Rotating logs has been disabled."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue