config.php 740 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Core Configurations.
  4. *
  5. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  6. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  7. *
  8. * Licensed under The MIT License
  9. * For full copyright and license information, please see the LICENSE.txt
  10. * Redistributions of files must retain the above copyright notice.
  11. *
  12. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  13. * @link http://cakephp.org CakePHP(tm) Project
  14. * @since 1.1.11
  15. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  16. */
  17. $versionFile = file(CORE_PATH . 'VERSION.txt');
  18. $config['Cake.version'] = trim(array_pop($versionFile));
  19. return $config;