Revision 717
Added by doc over 17 years ago
| include.php | ||
|---|---|---|
| 103 | 103 |
$oFCKeditor->Config['TemplatesXmlPath'] = WB_URL.'/modules/fckeditor/wb_config/wb_fcktemplates.xml'; |
| 104 | 104 |
} |
| 105 | 105 |
|
| 106 |
// set required file connectors (overwrite settings which may be made in fckconfig.js or my_fckconfig.js) |
|
| 107 |
$oFCKeditor->Config['LinkBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=../../connectors/php/connector.php'; |
|
| 108 |
$oFCKeditor->Config['ImageBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=../../connectors/php/connector.php'; |
|
| 109 |
$oFCKeditor->Config['FlashBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=../../connectors/php/connector.php'; |
|
| 106 |
// set required file connectors (overwrite settings which may be made in fckconfig.js or my_fckconfig.js) |
|
| 107 |
$connectorPath = $oFCKeditor->BasePath.'editor/filemanager/connectors/php/connector.php'; |
|
| 108 |
$oFCKeditor->Config['LinkBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=' |
|
| 109 |
.$connectorPath; |
|
| 110 |
$oFCKeditor->Config['ImageBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=' |
|
| 111 |
.$connectorPath; |
|
| 112 |
$oFCKeditor->Config['FlashBrowserURL'] = $oFCKeditor->BasePath.'editor/filemanager/browser/default/browser.html?Connector=' |
|
| 113 |
.$connectorPath; |
|
| 110 | 114 |
|
| 111 | 115 |
$oFCKeditor->Value = reverse_htmlentities($content); |
| 112 | 116 |
$oFCKeditor->Height = $height; |
Also available in: Unified diff
added the FCKEditor module PHP connector fix found by the forum member Luisehahne (thanks man)