Opened 19 years ago
Last modified 15 years ago
#613 closed New Feature
Support for any directory — at Version 1
| 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 (1)
comment:1 Changed 19 years ago by
| Description: | modified (diff) |
|---|---|
| Reporter: | changed from Martin Kou to robregonm@… |
