------------------------------------------------------------
revno: 924
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Mon 2011-10-31 11:30:31 +0100
message:
  little correction: check enable_query_cache
modified:
  third-party/ezsql/index.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'third-party/ezsql/index.php'
--- third-party/ezsql/index.php	2011-06-15 02:30:59 +0000
+++ third-party/ezsql/index.php	2011-10-31 10:30:31 +0000
@@ -616,7 +616,9 @@
 }
 
 
-if ($config['enable_query_cache']){
+if (isset($config['enable_query_cache']) && isset($config['cache_dir'])
+	&& $config['enable_query_cache'] ) {
+	
 	if (!isset($db_cache_timeout)){
 		$db_cache_timeout = 24;
 	}
@@ -624,4 +626,4 @@
 	$db->cache_dir = $config['cache_dir'];
 	$db->use_disk_cache = true;
 	$db->cache_queries = true;
-}
\ No newline at end of file
+}

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to