| 1 |
<?php |
| 2 |
/* |
| 3 |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
| 4 |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
| 5 |
* |
| 6 |
* == BEGIN LICENSE == |
| 7 |
* |
| 8 |
* Licensed under the terms of any of the following licenses at your |
| 9 |
* choice: |
| 10 |
* |
| 11 |
* - GNU General Public License Version 2 or later (the "GPL") |
| 12 |
* http://www.gnu.org/licenses/gpl.html |
| 13 |
* |
| 14 |
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") |
| 15 |
* http://www.gnu.org/licenses/lgpl.html |
| 16 |
* |
| 17 |
* - Mozilla Public License Version 1.1 or later (the "MPL") |
| 18 |
* http://www.mozilla.org/MPL/MPL-1.1.html |
| 19 |
* |
| 20 |
* == END LICENSE == |
| 21 |
* |
| 22 |
* This is the integration file for PHP (All versions). |
| 23 |
* |
| 24 |
* It loads the correct integration file based on the PHP version (avoiding |
| 25 |
* strict error messages with PHP 5). |
| 26 |
*/ |
| 27 |
|
| 28 |
if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) |
| 29 |
include_once( 'fckeditor_php4.php' ) ; |
| 30 |
else |
| 31 |
include_once( 'fckeditor_php5.php' ) ; |
| 32 |
|