return $total;␊ |
}␊ |
␊ |
␊ |
require dirname(__FILE__).'/../src/IDF/conf/path.php';␊ |
require 'Pluf.php';␊ |
Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');␊ |
␊ |
␊ |
$lock_file = Pluf::f('idf_queuecron_lock',␊ |
Pluf::f('tmp_folder', '/tmp').'/calcforgecron.lock');␊ |
␊ |
|
␊ |
file_put_contents($lock_file, time(), LOCK_EX);␊ |
␊ |
require dirname(__FILE__).'/../src/IDF/conf/path.php';␊ |
require 'Pluf.php';␊ |
Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php');␊ |
␊ |
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));␊ |
␊ |