Skip to content
Permalink
Browse files

[plugin:ref] support X-elFinder with Coll-URI on XCL 2.2

  • Loading branch information
nao-pon committed May 4, 2014
1 parent 36ee2da commit 492ec779102555bf6a0610516656ff8ed40b0941
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xpwiki/plugin/ref.inc.php
@@ -104,7 +104,7 @@ function plugin_ref_init () {
// サイト内画像のローカルファイルパス変換テーブル
$this->conf['local_dir_mapper'] = array(
// xelfinder
'#^.+/([a-zA-Z0-9_-]+)/index\.php(?:/|\?page=)(?:view|tmb(?:/|&s=)\d+)(?:/|&file=)(\d+)(?:/|&).*?$#'
'#^.+/([a-zA-Z0-9_-]+)/(?:index\.php(?:/|\?page=))?(?:view|tmb(?:/|&s=)\d+)(?:/|&file=)(\d+)(?:/|&).*?$#'
=> $this->cont['TRUST_PATH'] . 'uploads/xelfinder/' . rawurlencode(rtrim(substr($this->cont['ROOT_URL'], 7), '/')) . '_$1_$2',
);

0 comments on commit 492ec77

Please sign in to comment.
You can’t perform that action at this time.