Fix version config.

This commit is contained in:
mark_story 2011-12-29 20:12:45 -05:00
parent 23178df504
commit ff29b194ed

View file

@ -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));