Subversion Repositories Applications.framework

Rev

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

Rev 277 Rev 281
Line 1... Line 1...
1
<?php 
1
<?php 
2
class ServiceCacheSqlite extends Service {
2
class ServiceCacheSqlite extends Service {
Line 3... Line 3...
3
	
3
	
-
 
4
	public function consulter($ressources, $parametres) {
4
	public function consulter($ressources, $parametres) {
5
		// Redéfinition ici mais peut être configuré depuis le fichier config.ini
5
		$options = array(
6
		$options = array(
6
			'stockage_mode'				 => Cache::STOCKAGE_MODE_SQLITE,
7
			'stockage_mode'				 => Cache::STOCKAGE_MODE_SQLITE,
7
			'stockage_chemin'				 => Fichier::getDossierTmp().DS.'cache.sqlite',
8
			'stockage_chemin'				 => Fichier::getDossierTmp().DS.'cache.sqlite',
8
			'controle_ecriture'			 => false,
9
			'controle_ecriture'			 => false,