commit 6d19070b5d5e0ef0cf451a455530284f4e5a6c3e
parent 0eca88d91fe0341fdb6114c2c19bad9ae60ef460
Author: Timo A. Hummel <timo@netraver.de>
Date: Thu, 26 May 2011 01:51:15 +0200
Changed cache to APC.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/de/RaumZeitLabor/PartDB2/PartDB2.php b/src/de/RaumZeitLabor/PartDB2/PartDB2.php
@@ -107,9 +107,9 @@ class PartDB2 {
'host' => PartDB2Configuration::getOption("partdb2.database.hostname", "localhost")
);
- $cache = new \Doctrine\Common\Cache\ArrayCache;
+ $cache = new \Doctrine\Common\Cache\ApcCache();
$config->setMetadataCacheImpl($cache);
-
+
$config->setQueryCacheImpl($cache);
//$logger = new \Doctrine\DBAL\Logging\EchoSQLLogger();