Commit 02e31294 authored by Ayolo's avatar Ayolo

bleh

parent 1823d896
<?php
$_SERVER['SCRIPT_FILENAME']="/var/www/ae/www/ae2/phpcron";
/*
* hourly
*/
......@@ -10,7 +11,6 @@ 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";
require_once($topdir. "include/site.inc.php");
require_once($topdir. "include/lib/magpierss/rss_fetch.inc.php");
......@@ -23,8 +23,6 @@ $req = new requete($site->db,"SELECT `url` FROM `planet_flux` WHERE `modere`='1'
while ( list($url) = $req->get_row() )
$rs=fetch_rss($url);
// Tâche 1 [planet] : nettoyage du cache
$cache = opendir(MAGPIE_CACHE_DIR);
while ($file = readdir($cache))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment