config.php 738 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Core Configurations.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice.
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://cakephp.org CakePHP(tm) Project
  15. * @package Cake.Config
  16. * @since CakePHP(tm) v 1.1.11.4062
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. $versionFile = file(CAKE . 'VERSION.txt');
  20. $config['Cake.version'] = trim(array_pop($versionFile));
  21. return $config;