Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriceci committed Aug 7, 2016
1 parent bff4807 commit a2fa90f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connectors/php/LocalFilemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ protected function get_file_info($relative_path)
$filemtime = filemtime($current_path);
$iconsFolder = $this->getFmUrl($this->config['icons']['path']);

// tell if we serve the files directly or if we should pass through the connector
$beyondDocRoot = stripos(realpath($this->path_to_files), realpath($this->doc_root)) !== 0;
$getImageMode = $this->connector_script_url . '?mode=getimage&path=' . rawurlencode($relative_path) . '&time=' . time();
$readFileMode = $this->connector_script_url . '?mode=readfile&path=' . rawurlencode($relative_path) . '&time=' . time();
Expand Down

0 comments on commit a2fa90f

Please sign in to comment.