Commit: 2bf1cb8fbea113f667a1782d9e4ece20e768025d

Author: moos3 | Date: 2010-08-12 22:26:13 -0400
Rectifying incorrect boolean logic for default cache adapter selection in \`app/config/bootstrap/cache.php\`. Fixes #122
diff --git a/app/config/bootstrap/cache.php b/app/config/bootstrap/cache.php index b3b8a1b..51e0cbf 100644 --- a/app/config/bootstrap/cache.php +++ b/app/config/bootstrap/cache.php @@ -22,7 +22,7 @@ if (PHP_SAPI === 'cli') { /** * If APC is not available and the cache directory is not writeable, bail out. */ -if (!$apcEnabled = Apc::enabled() && !is_writable(LITHIUM_APP_PATH . '/resources/tmp/cache')) { +if (!($apcEnabled = Apc::enabled()) && !is_writable(LITHIUM_APP_PATH . '/resources/tmp/cache')) { return; } @@ -45,4 +45,4 @@ Dispatcher::applyFilter('run', function($self, $params, $chain) { return $result; }); -?> \ No newline at end of file +?>