ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v6:caching:filesystem

The Filesystem based Caching Plugin

Description

This plugin enables caching using the Filesystem based caching feature. Usage of this plugin follows the methods used in the version 5 product. The definitions file is located at:

ADOdb\addins\cache\plugins\filesystem\ADOCacheDefinitions

The ADOCachingDefinitions Class

class ADOCacheDefinitions
{
        /*
	* Debugging for cache
	*/
	public bool $debug = true;
 
	/*
	* Service flag. Do not modify value
	*/
	public string $serviceName = 'filesystem';
 
	public string $serviceDescription = 'FILESYSTEM';
 
 
	/*
	* The root level of the cache subdirectory system on the
	* local machine. 
	*/
	public string $cacheDirectory = '';
 
        /*
	* Overrides the default directory permission
	* default is 0771
	*/
	public string $cacheDirectoryPermissions = '';
 
}

The $cacheDirectoryPermissions class variable replaces the version 5 global $ADODB_CACHE_PERMS

v6/caching/filesystem.txt · Last modified: by 127.0.0.1