cakephp2-php8/lib/Cake/Config/config.php

21 lines
729 B
PHP
Raw Normal View History

<?php
/**
* Core Configurations.
*
2010-10-03 16:38:58 +00:00
* PHP 5
*
2009-05-01 18:17:53 +00:00
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
2011-05-29 21:31:39 +00:00
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
2011-05-29 21:31:39 +00:00
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
2010-01-26 19:18:20 +00:00
* @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Config
* @since CakePHP(tm) v 1.1.11.4062
2009-05-01 18:17:53 +00:00
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
2011-12-30 01:12:45 +00:00
$versionFile = file(CAKE . 'VERSION.txt');
return $config['Cake.version'] = trim(array_pop($versionFile));