don't have the version in 2 places

This commit is contained in:
AD7six 2011-10-28 12:12:28 +02:00
parent ad524b25ef
commit 4fd3bccf78

View file

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