/trunk/services/modules/0.1/commun/Commun.php |
---|
315,7 → 315,7 |
} |
} |
public function getDureeCache() { |
static function getDureeCache() { |
$dureecache = 0; |
$dureecache = Config::get('dureecache'); |
if ($dureecache == null || !is_numeric($dureecache) || $dureecache < 0) { |
/trunk/services/bibliotheque/CacheEflore.php |
---|
23,7 → 23,7 |
public function chargerDureeCache() { |
if ($this->cacheActif == "1") { |
$this->dureecache = $this->service->getDureeCache(); |
$this->dureecache = Commun::getDureeCache(); |
} |
} |