Skip to content
Browse files

don't have the version in 2 places

  • Loading branch information...
1 parent ad524b2 commit 4fd3bccf788f76262271308a117db7234cc2a36c @AD7six AD7six committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Config/config.php
View
3 lib/Cake/Config/config.php
@@ -16,4 +16,5 @@
* @since CakePHP(tm) v 1.1.11.4062
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
-return $config['Cake.version'] = '2.0.0';
+$versionFile = file(CAKE . 'VERSION.txt');
+return $config['Cake.version'] = array_pop($versionFile);

0 comments on commit 4fd3bcc

Please sign in to comment.
Something went wrong with that request. Please try again.