Skip to content

Commit 8ff5e1a

Browse files
committed
Fixing installer to work with Harmony
1 parent 245aad4 commit 8ff5e1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CacheInstaller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ public static function install(MoufManager $moufManager) {
2525
$cacheInstance = InstallUtils::getOrCreateInstance('defaultDoctrineCache', null, $moufManager);
2626
$cacheInstance->setCode('// If DEBUG mode is on, let\'s just use an ArrayCache.
2727
if (DEBUG) {
28-
$driver = new Doctrine\\Common\\Cache\\ArrayCache();
28+
$driver = new \\Doctrine\\Common\\Cache\\ArrayCache();
2929
} else {
3030
// If APC is available, let\'s use APC
3131
if (extension_loaded("apc")) {
32-
$driver = new Doctrine\\Common\\Cache\\ApcCache();
32+
$driver = new \\Doctrine\\Common\\Cache\\ApcCache();
3333
} else {
34-
$driver = new Doctrine\\Common\\Cache\\FileCache(sys_get_temp_dir().\'/doctrinecache\');
34+
$driver = new \\Doctrine\\Common\\Cache\\FileCache(sys_get_temp_dir().\'/doctrinecache\');
3535
}
3636
}
3737
$driver->setNamespace(SECRET);

0 commit comments

Comments
 (0)