fckeditor 그림 업로드 설정

1.editor\\filemanager\\upload\php\editor\filemanager\\\browser\\default\\connectors\\php\config.php 의$Config['Enabled']=true 를 수정 해 야 합 니 다.2.editor\\filemanager\\upload\php\editor\filemanager\\upload\\php\\config.php 의$Config['Enabled']=true 를 수정 해 야 합 니 다.3.editor\\filemanager\\upload\php 아래 util.php 에 있 는 getrootpath 함 수 를 수정 해 야 합 니 다
 

function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
그리고 editor\filemanager\\browser\\default\\connectors\php 아래 io.php 에 있 는 getrootpath 함수
 

function GetRootPath() { $sRealPath = realpath( '.' ) ; $sRealPath=str_replace('\\','/',$sRealPath); $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; $sRealPath = substr( $sRealPath, 0, strrpos( $sRealPath, '/' ) ) ; return $sRealPath.'/'; }
그리고 editor\filemanager\\browser\default\connectors\php 에 있 는 config.php 파일 의$Config['UserFiles Path']변수 와 editor\filemanager\\upload\php다음 config.php 에 있 는$Config['User Files Path']변 수 를 사용 하면 됩 니 다.하지만 그림 은 편집기 에서 볼 수 없 지만 내용 으로 표 시 될 때 는 문제 가 없습니다.

좋은 웹페이지 즐겨찾기