5 * Server Side Intregation Pack
7 * This pack implements a Connector between Drupal and FCKeditor File browser.
8 * The "Connector" is the responsible for handling requests made by the
9 * File Browser. The following tasks are done by the Connector:
10 * - Receive the File Manager requests.
11 * - Execute operations in the File System, like folder and files creations
13 * - Build the XML response in the right format and syntax.
14 * - Receive and handle file uploads from the File Browser.
16 * All requests are simply made by the File Browser using the normal HTTP
17 * channel. The request info is always passed by QueryString in the URL that
18 * reflects the following format:
20 * connector.php?Command=CommandName&Type=ResourceType&CurrentFolder=FolderPath&ServerPath=ServerPath
26 * 1. Edit the fckconfig.js file and set the FCKConfig.LinkBrowserURL and
27 * FCKConfig.ImageBrowserURL properties to:
29 * FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=[context_path]/modules/fckeditor/ssip/connector.php"
30 * FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=[context_path]/modules/fckeditor/ssip/connector.php"
32 * Note: If you are running Drupal under a directory replace [context_path]
33 * with yours directory's name (ie. /drupal ), otherwise simply remove it
35 * FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=/modules/fckeditor/ssip/connector.php"
36 * FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=/modules/fckeditor/ssip/connector.php"
38 * 2. Modify the properties.inc file to fit your customs.
39 * Note: if you are running Drupal under a directory you need to set the
40 * 'context_path' property to the ditectory's name
46 * @author LatPro Inc (George)
50 include_once
'core.inc';
51 include_once
'properties.inc';
53 _fck_connector_execute();