Citation:
$file_cache = 'test/toto.php';
if (file_exists($file_cache)){
$file_date = filemtime($file_cache);
if (time() >= (time($file_date) + DBT_cache::$time_cache)){
chmod($file_cache,0777);
unlink($file_cache);
$data_file = '';
} else {
if (fgets($file_cache)){ /*LIGNE 147*/
chmod(DBT_cache::$folder_cache,0777);
DBT_cache::$var_cachecontent = fgets($file_cache);
} else {
DBT_cache::$var_cachecontent = '';
}
}
}
le warning du fgets provient d'ou ? d'une permission a rajouter ? pourtant je l'ai deja fait, et j'ai toujorus ce message...;