From ff29b194ed59f31f9051c301e4bf4f54f9060ab0 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 29 Dec 2011 20:12:45 -0500 Subject: [PATCH] Fix version config. --- lib/Cake/Config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Config/config.php b/lib/Cake/Config/config.php index 9bbbb5cde..d90976331 100644 --- a/lib/Cake/Config/config.php +++ b/lib/Cake/Config/config.php @@ -16,5 +16,5 @@ * @since CakePHP(tm) v 1.1.11.4062 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ -$config['Cake.version'] = '2.0.5'; -return $config; +$versionFile = file(CAKE . 'VERSION.txt'); +return $config['Cake.version'] = trim(array_pop($versionFile));