00001 <?php 00002 /* SVN FILE: $Id: overloadable.php 7805 2008-10-30 17:30:26Z AD7six $ */ 00003 /** 00004 * Overload abstraction interface. Merges differences between PHP4 and 5. 00005 * 00006 * PHP versions 4 and 5 00007 * 00008 * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 00009 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 00010 * 00011 * Licensed under The MIT License 00012 * Redistributions of files must retain the above copyright notice. 00013 * 00014 * @filesource 00015 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 00016 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 00017 * @package cake 00018 * @subpackage cake.cake.libs 00019 * @since CakePHP(tm) v 1.2 00020 * @version $Revision: 7805 $ 00021 * @modifiedby $LastChangedBy: AD7six $ 00022 * @lastmodified $Date: 2008-10-30 13:30:26 -0400 (Thu, 30 Oct 2008) $ 00023 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 00024 */ 00025 /** 00026 * Overloadable class selector 00027 * 00028 * @package cake 00029 * @subpackage cake.cake.libs 00030 */ 00031 00032 /** 00033 * Load the interface class based on the version of PHP. 00034 * 00035 */ 00036 if (!PHP5) { 00037 require(LIBS . 'overloadable_php4.php'); 00038 } else { 00039 require(LIBS . 'overloadable_php5.php'); 00040 } 00041 ?>
1.4.7