Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 670 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 670 Rev 693
Line 13... Line 13...
13
		$this->cacheActif = $cacheActif;
13
		$this->cacheActif = $cacheActif;
14
		$this->service = $service;
14
		$this->service = $service;
15
		$this->chargerDureeCache();
15
		$this->chargerDureeCache();
16
		$this->projetNom = $projetNom;
16
		$this->projetNom = $projetNom;
17
		$this->serviceNom = $serviceNom;
17
		$this->serviceNom = $serviceNom;
-
 
18
		$this->cache = new CacheSimple(array(
-
 
19
			"mise_en_cache" => true, 
18
		$this->cache = new CacheSimple(array("mise_en_cache" => true, "stockage_chemin" => Config::get("chemincache"), "duree_de_vie" => $this->dureecache));
20
			"stockage_chemin" => Config::get('chemin_cache').'services'.DS, 
-
 
21
			"duree_de_vie" => $this->dureecache));
19
	}
22
	}
Line 20... Line 23...
20
 
23
 
21
	public function chargerDureeCache() {
24
	public function chargerDureeCache() {
22
		if ($this->cacheActif == "1") {
25
		if ($this->cacheActif == "1") {