Revize 6663a0a7
Přidáno uživatelem David Raška před asi 9 roky(ů)
application/controllers/scheduler.php | ||
---|---|---|
{
|
||
// script needs to be run from its server machine
|
||
|
||
if (server::remote_addr() != server::server_addr())
|
||
if (server::remote_addr() != server::server_addr() &&
|
||
server::remote_addr() != "127.0.0.1")
|
||
{
|
||
echo 'access denied';
|
||
die();
|
Také k dispozici: Unified diff
refs #1002: Scheduler is available from loopback interface