mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Fix coding style part 2
This commit is contained in:
+1
-2
@@ -12,8 +12,7 @@ $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