Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't have the version in 2 places

  • Loading branch information...
commit 4fd3bccf788f76262271308a117db7234cc2a36c 1 parent ad524b2
@AD7six AD7six authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.