Rev | Line | |
---|
[126] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * Overload abstraction interface. Merges differences between PHP4 and 5. |
---|
| 4 | * |
---|
| 5 | * PHP versions 4 and 5 |
---|
| 6 | * |
---|
| 7 | * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
---|
| 8 | * Copyright 2005-2011, 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-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
---|
| 14 | * @link http://cakephp.org CakePHP(tm) Project |
---|
| 15 | * @package cake |
---|
| 16 | * @subpackage cake.cake.libs |
---|
| 17 | * @since CakePHP(tm) v 1.2 |
---|
| 18 | * @license MIT License (http://www.opensource.org/licenses/mit-license.php) |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | /** |
---|
| 22 | * Overloadable class selector |
---|
| 23 | * |
---|
| 24 | * @package cake |
---|
| 25 | * @subpackage cake.cake.libs |
---|
| 26 | */ |
---|
| 27 | |
---|
| 28 | /** |
---|
| 29 | * Load the interface class based on the version of PHP. |
---|
| 30 | * |
---|
| 31 | */ |
---|
| 32 | if (!PHP5) { |
---|
| 33 | require(LIBS . 'overloadable_php4.php'); |
---|
| 34 | } else { |
---|
| 35 | require(LIBS . 'overloadable_php5.php'); |
---|
| 36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.