mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Revert "Fix coding style old files (part 2)"
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ $config_file = 'config.php';
|
||||
// move to install dir
|
||||
chdir(dirname($argv[0]));
|
||||
|
||||
function iscli() {
|
||||
function iscli()
|
||||
{
|
||||
if (php_sapi_name() == 'cli' && empty($_SERVER['REMOTE_ADDR'])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user