X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=ckeditor.php;fp=ckeditor.php;h=edbc70376a401f789750cbf535b4272d1cad9be7;hb=941b0a9ba4e673e292510d80a5a86806994b8ea6;hp=0000000000000000000000000000000000000000;hpb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;p=ckeditor.git diff --git a/ckeditor.php b/ckeditor.php new file mode 100644 index 0000000..edbc703 --- /dev/null +++ b/ckeditor.php @@ -0,0 +1,29 @@ +CKEditor web site to find more information about the editor. + * \section install_sec Installation + * \subsection step1 Include ckeditor.php in your PHP web site. + * @code + * + * @endcode + * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor. + * @code + * textarea("field1", "

Initial value.

"); + * ?> + * @endcode + */ + +if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) + include_once( 'ckeditor_php4.php' ) ; +else + include_once( 'ckeditor_php5.php' ) ;