Added caching flag to database.
This commit is contained in:
parent
237cb22990
commit
02c0eef632
4 changed files with 75 additions and 10 deletions
|
@ -9,7 +9,7 @@
|
|||
* Redistribution of these files must retain the above copyright notice.
|
||||
*
|
||||
* @author Josh Sherman <josh@gravityblvd.com>
|
||||
* @copyright Copyright 2007-2011, Josh Sherman
|
||||
* @copyright Copyright 2007-2011, Josh Sherman
|
||||
* @license http://www.opensource.org/licenses/mit-license.html
|
||||
* @package PICKLES
|
||||
* @link http://p.ickl.es
|
||||
|
@ -129,6 +129,11 @@ class Database extends Object
|
|||
{
|
||||
$instance->setDatabase($datasource['database']);
|
||||
}
|
||||
|
||||
if (isset($datasource['caching']))
|
||||
{
|
||||
$instance->setCaching($datasource['caching']);
|
||||
}
|
||||
}
|
||||
|
||||
// Caches the instance for possible reuse later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue