From 41ad1a1fe91939cc9deec77ae39c8a873ce07af0 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 4 Nov 2010 09:46:12 +0000 Subject: [PATCH] Modification chemin de stockage fichier bdf, issue #0000290 --- www/pages/bdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pages/bdf.php b/www/pages/bdf.php index 8422fabbf..6566257c5 100644 --- a/www/pages/bdf.php +++ b/www/pages/bdf.php @@ -22,7 +22,8 @@ function displayModule($req, $module, $service, $listModules) } else { - $filename = PATH_DATA.'/bdf/bdf_'.$service.'_'.$req.'_'.$module.'.html'; + $filename = PATH_SITE.'/cache/bdf/'. + 'bdf_'.$service.'_'.$req.'_'.$module.'.html'; } //@todo : Ajouter timeover if($filename!==false && file_exists($filename)) @@ -34,7 +35,6 @@ function displayModule($req, $module, $service, $listModules) $content = trim(bdf_loadpage($url)); if( !empty($content) && $filename!==false ) { - if(!file_exists(PATH_DATA.'/bdf')) mkdir(PATH_DATA.'/bdf'); file_put_contents($filename, $content); } }