deny possible direct call of cronjobs

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-10-27 06:18:09 +01:00
parent 6ac4b87a84
commit 9d5851e9be
20 changed files with 21 additions and 19 deletions

View File

@@ -15,6 +15,8 @@
* *
*/ */
define('MASTER_CRONJOB', 1);
include_once(dirname(__FILE__) . '/../lib/cron_init.php'); include_once(dirname(__FILE__) . '/../lib/cron_init.php');
$jobs_to_run = includeCronjobs($debugHandler, $pathtophpfiles); $jobs_to_run = includeCronjobs($debugHandler, $pathtophpfiles);

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.

View File

@@ -1,4 +1,4 @@
<?php <?php if (!defined('MASTER_CRONJOB')) die('You cannot access this file directly!');
/** /**
* This file is part of the Froxlor project. * This file is part of the Froxlor project.