Opened 18 years ago
Closed 14 years ago
#613 closed New Feature (worksforme)
Support for any directory
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF HasPatch | Cc: |
Description (last modified by )
I don't know if this is a improve or what, but it's very useful. My example is based on fckeditor.php
I suggest replace the line 38, by these lines:
$FCK_PATH = str_replace("\\",'/',substr(dirname(__FILE__),strlen($_SERVER['DOCUMENT_ROOT']))); if (!ereg('/$', $FCK_PATH)){ $FCK_PATH .= '/'; } // directory where FCKeditor files are located $this->BasePath = $FCK_PATH;
These lines load the base path automatically...
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1101990&group_id=75348&atid=543656
Change History (3)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|---|
Reporter: | changed from Martin Kou to robregonm@… |
comment:2 Changed 17 years ago by
Keywords: | HasPatch added |
---|
comment:3 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
If you think that there is still a bug in the CKEditor PHP integration files, please reopen this issue.