diff --git a/xoops_trust_path/modules/xpwiki/plugin/ref.inc.php b/xoops_trust_path/modules/xpwiki/plugin/ref.inc.php index 1b3b62ac..2a3db16d 100644 --- a/xoops_trust_path/modules/xpwiki/plugin/ref.inc.php +++ b/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', );