From eff77b047470164e2d1d7a1dca12e9a75e31fe7c Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Mon, 16 Oct 2017 16:22:13 +0200 Subject: [PATCH] Force doctrine to use ArrayCache instead of apc/xcache/memcache/redis See #2188 --- main/inc/lib/database.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/database.lib.php b/main/inc/lib/database.lib.php index bcbb633b65..181fbf9452 100755 --- a/main/inc/lib/database.lib.php +++ b/main/inc/lib/database.lib.php @@ -705,7 +705,7 @@ class Database */ public static function getDoctrineConfig($path) { - $isDevMode = false; + $isDevMode = true; // Forces doctrine to use ArrayCache instead of apc/xcache/memcache/redis $isSimpleMode = false; // related to annotations @Entity $cache = null; $path = !empty($path) ? $path : api_get_path(SYS_PATH);