Opened 18 years ago
Last modified 15 years ago
#613 closed New Feature
Support for any directory — at Initial Version
Reported by: | Martin Kou | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF HasPatch | Cc: |
Description
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_ROO T']))); 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