Revision 1102
Added by Ruud about 16 years ago
| include.php | ||
|---|---|---|
| 30 | 30 |
|
| 31 | 31 |
function get_template_name() {
|
| 32 | 32 |
// returns the template name of the current displayed page |
| 33 |
require_once('../../config.php');
|
|
| 33 |
|
|
| 34 |
// Loading config.php is not needed here, it is loaded before. It breaks the module when the editor is called form another dir as WB_PATH/modules/mymodule |
|
| 35 |
// require_once('../../config.php');
|
|
| 34 | 36 |
require_once(WB_PATH. '/framework/class.database.php'); |
| 35 | 37 |
|
| 36 | 38 |
// work out default editor.css file for FCKEditor |
Also available in: Unified diff
Fixed a bug in the /admin/media resizer parameters for dirs with whitespaces
Fixed a bug in FCKeditor include.php. Now the editor can be used from other subdirectories than WB_PATH/modules/mymodule