Modified cron. This cron's file calls now crons of each coordination objects.
This commit is contained in:
parent
288095533f
commit
b363a5f0ba
20
cron.php
Normal file
20
cron.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
// if( @getenv("_") != "/usr/bin/php" )
|
||||
// {
|
||||
// echo "Tu me prends pour un con !!!";
|
||||
// exit();
|
||||
// }
|
||||
|
||||
define('SYSTEM_IN', true);
|
||||
require_once __DIR__ . '/config/config.data_acces.php';
|
||||
require_once __DIR__ . '/config/config.data_source.php';
|
||||
require_once __DIR__ . '/lib/system/system_data_source/database/database.php';
|
||||
require_once __DIR__ . '/lib/package/class.phpmailer.phpmailer.php';
|
||||
|
||||
$files = glob(__DIR__ . '/lib/object_coordination/*/cron.php', GLOB_BRACE);
|
||||
foreach($files as $file) {
|
||||
require_once($file);
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user