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 492ec77
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.