Skip to content

Commit

Permalink
Fix syntax error in DocRoot detection
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Dickert <[email protected]>
  • Loading branch information
Marco Dickert committed Jun 6, 2020
1 parent 37111e3 commit 45a4e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/libifm.php
Original file line number Diff line number Diff line change
Expand Up @@ -3496,7 +3496,7 @@ private function getItemInformation( $name ) {
private function getConfig() {
$ret = $this->config;
$ret['inline'] = ( $this->mode == "inline" ) ? true : false;
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot);
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot());

foreach (array("auth_source", "root_dir") as $field) {
unset($ret[$field]);
Expand Down
2 changes: 1 addition & 1 deletion ifm.php
Original file line number Diff line number Diff line change
Expand Up @@ -3496,7 +3496,7 @@ private function getItemInformation( $name ) {
private function getConfig() {
$ret = $this->config;
$ret['inline'] = ( $this->mode == "inline" ) ? true : false;
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot);
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot());

foreach (array("auth_source", "root_dir") as $field) {
unset($ret[$field]);
Expand Down
2 changes: 1 addition & 1 deletion src/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ private function getItemInformation( $name ) {
private function getConfig() {
$ret = $this->config;
$ret['inline'] = ( $this->mode == "inline" ) ? true : false;
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot);
$ret['isDocroot'] = ($this->getRootDir() == $this->getScriptRoot());

foreach (array("auth_source", "root_dir") as $field) {
unset($ret[$field]);
Expand Down

0 comments on commit 45a4e44

Please sign in to comment.