JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3.2
[ckeditor.git] / ckeditor.php
1 <?php\r
2 /*\r
3  * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
4  * For licensing, see LICENSE.html or http://ckeditor.com/license\r
5  */\r
6 \r
7 /*! \mainpage CKEditor - PHP server side intergation\r
8  * \section intro_sec CKEditor\r
9  * Visit <a href="http://ckeditor.com">CKEditor web site</a> to find more information about the editor.\r
10  * \section install_sec Installation\r
11  * \subsection step1 Include ckeditor.php in your PHP web site.\r
12  * @code\r
13  * <?php\r
14  * include("ckeditor/ckeditor.php");\r
15  * ?>\r
16  * @endcode\r
17  * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor.\r
18  * @code\r
19  * <?php\r
20  * $CKEditor = new CKEditor();\r
21  * echo $CKEditor->textarea("field1", "<p>Initial value.</p>");\r
22  * ?>\r
23  * @endcode\r
24  */\r
25 \r
26 if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) )\r
27         include_once( 'ckeditor_php4.php' ) ;\r
28 else\r
29         include_once( 'ckeditor_php5.php' ) ;\r