Public feed #602532

Untitled

public text v1 · immutable
Raw Edit
·published 2007-07-04 03:47 UTC
rendered paste body
<?php
/**
 * Global cache settings
 */
AdaptableCore_Application_Config::set(array('global', 'cache'), array
(
	'frontend'							=> array
	(
		'driver'						=> 'Core',
		'options'						=> array
		(
			'lifetime'					=> 3600,
			'automatic_serialization'	=> true
		)
	),

	'backennd'							=> array
	(
		'driver'						=> 'File',
		'options'						=> array
		(
			'cache_dir'					=> '/tmp/'
		)
	)
));


/**
 * Development cache settings
 */
AdaptableCore_Application_Config::set(array('development', 'cache'), array
(
	'backend'							=> array
	(
		'options'						=> array
		(
			'cache_dir'					=> '/home/cameron/projects/AdaptableCore/cache/'
		)
	)
), array('extends'	=> 'global'));


/**
 * Production cache settings
 */
AdaptableCore_Application_Config::set(array('production', 'cache'), array
(
	'backend'							=> array
	(
		'options'						=> array
		(
			'cache_dir'					=> '/home/cameron/domains/core.adaptablecode.com/cache/'
		)
	)
));