26 lines
476 B
PHP
26 lines
476 B
PHP
<?php
|
|
date_default_timezone_set("Europe/Berlin");
|
|
error_reporting(E_ALL);
|
|
session_start();
|
|
|
|
$RUNTIME = array();
|
|
$RUNTIME['BASEDIR'] = __DIR__;
|
|
set_include_path('.:'.$RUNTIME['BASEDIR']);
|
|
include_once("app/utils.php");
|
|
include_once("app/HTML.php");
|
|
include_once("config.php");
|
|
|
|
if ($handle = opendir('./cron/'))
|
|
{
|
|
while (false !== ($entry = readdir($handle)))
|
|
{
|
|
if ($entry != "." && $entry != "..")
|
|
{
|
|
include_once "./cron/".$entry;
|
|
}
|
|
}
|
|
|
|
closedir($handle);
|
|
}
|
|
|
|
?>
|