2015-08-01, 02:00:26
Here you go, your edit.php modification is not necessary., you can either inject your overrides directly.
Or provide a new custom config.js path, and use your own,
Or provide a new custom config.js path, and use your own,
customConfig: 'pathto/config.js'
PHP Code:
if($GSEDITORBROWSER) {
$filebrowserBrowseUrl = "../plugins/responsivefilemanager/dialog.php?type=2&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserUploadUrl = "../plugins/responsivefilemanager/dialog.php?type=2&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserImageBrowseUrl = "../plugins/responsivefilemanager/dialog.php?type=1&lang=".$lang_curr."&editor=ckeditor&fldr=";
$filebrowserWidth = $rfm_xml->w_width;
$filebrowserHeight = $rfm_xml->w_height;
// gsconfig GSEDITOROPTIONS is stored in global $EDOPTIONS, you can append whatever you want
GLOBAL $EDOPTIONS;
$EDOPTIONS .= ',
filebrowserImageBrowseUrl:"'.$filebrowserImageBrowseUrl.'"';
} else {
$toolbar_ins=0;
}