mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
fixing the fix ;-)
This commit is contained in:
parent
3fc7b9ab38
commit
c0effaf429
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/php
|
||||
#!/usr/bin/php -qC
|
||||
<?php
|
||||
/**
|
||||
* Setup - Command line interface
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
chdir(dirname(__FILE__)); // to enable our relative pathes to work
|
||||
|
||||
if (isset($_SERVER['PHP_SELF'])) // security precaution: forbit calling setup-cli as web-page
|
||||
if (isset($_SERVER['HTTP_HOST'])) // security precaution: forbit calling setup-cli as web-page
|
||||
{
|
||||
die('<h1>setup-cli.php must NOT be called as web-page --> exiting !!!</h1>');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user