Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 563 → Rev 564

/trunk/services/bibliotheque/CacheEflore.php
12,13 → 12,10
public function __construct($service, $projetNom, $serviceNom, $cacheActif) {
$this->cacheActif = $cacheActif;
$this->service = $service;
$this->config = $config;
$this->chargerDureeCache();
$this->projetNom = $projetNom;
$this->serviceNom = $serviceNom;
$this->cache = new CacheSimple(array("stockage_chemin" => Config::get("chemincache"), "duree_de_vie" => $this->dureecache));
$this->cache = new CacheSimple(array("mise_en_cache" => true, "stockage_chemin" => Config::get("chemincache"), "duree_de_vie" => $this->dureecache));
}
 
public function chargerDureeCache() {