diff --git a/phpcron/hourly.php b/phpcron/hourly.php index 1ce95b0b9d08b66fc6ab5e1bad40e18b1faa174d..7362f79ec49dc498f17190691c89e8632d1f31c8 100644 --- a/phpcron/hourly.php +++ b/phpcron/hourly.php @@ -10,10 +10,10 @@ define('MAGPIE_CACHE_AGE', 50*60); //50minutes pour etre certain d'avoir un truc define('MAGPIE_OUTPUT_ENCODING', "UTF-8"); define('MAX_NUM',20); define('MAX_SUM_LENGHT',200); -$_SERVER['SCRIPT_FILENAME']="/var/www/ae/www/ae2/phpcron" +$_SERVER['SCRIPT_FILENAME']="/var/www/ae/www/ae2/phpcron"; -include($topdir. "include/site.inc.php"); -include($topdir. "include/lib/magpierss/rss_fetch.inc.php"); +require_once($topdir. "include/site.inc.php"); +require_once($topdir. "include/lib/magpierss/rss_fetch.inc.php"); $site = new site ();