Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
Showing only changes of commit 181af86899 - Show all commits

View File

@ -32,6 +32,11 @@ class CacheManager implements CacheInterface {
$config = $container->get('config'); $config = $container->get('config');
$driverConf = $config->get('cache_driver'); $driverConf = $config->get('cache_driver');
if (empty($driverConf))
{
$driverConf = 'SQLDriver';
}
$driverClass = __NAMESPACE__ . "\\Driver\\{$driverConf}"; $driverClass = __NAMESPACE__ . "\\Driver\\{$driverConf}";
$driver = new $driverClass($container); $driver = new $driverClass($container);