Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix #1076 : public link issue on windows server
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 15, 2016
1 parent 6bcfd7b commit c7482ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/core/classes/class.ContentFilter.php
Expand Up @@ -68,11 +68,11 @@ function filterUserSelection( &$userSelection ){
}

function getBaseDir(){
return dirname(array_keys($this->filters)[0]);
return AJXP_Utils::safeDirname(array_keys($this->filters)[0]);
}

function getUniquePath(){
return basename(array_keys($this->filters)[0]);
return AJXP_Utils::safeBasename(array_keys($this->filters)[0]);
}

/**
Expand Down

0 comments on commit c7482ae

Please sign in to comment.