Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[xoops_elfinder] fix problem of constant _MD_ELFINDER_MYDIRNAME
  • Loading branch information
nao-pon committed Jan 20, 2018
1 parent dc0851c commit 4d89079
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -78,8 +78,7 @@ public function __construct($mydirname, $opt = array()) {
$this->myOrigin = ($https? 'https://' : 'http://')
.$_SERVER['SERVER_NAME'] // host
.(((! $https && $_SERVER['SERVER_PORT'] == 80) || ($https && $_SERVER['SERVER_PORT'] == 443)) ? '' : (':' . $_SERVER['SERVER_PORT'])); // port
$this->tokeDataPrefix = XOOPS_MODULE_PATH.'/'._MD_ELFINDER_MYDIRNAME.'/cache/tokendata_';

$this->tokeDataPrefix = XOOPS_MODULE_PATH.'/'.$mydirname.'/cache/tokendata_';
}

public function getMyOrigin() {
Expand Down

0 comments on commit 4d89079

Please sign in to comment.