From 010869734da49d2fc1fb79a39d0a27adf4ca1043 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Wed, 28 Mar 2018 11:19:41 +0200 Subject: [PATCH] Fixed typo in getConfig adjustment --- build/libifm.php | 2 +- ifm.php | 2 +- src/main.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/libifm.php b/build/libifm.php index 99ae5f7..236f89a 100644 --- a/build/libifm.php +++ b/build/libifm.php @@ -3463,7 +3463,7 @@ f00bar; private function getConfig() { $ret = $this->config; - $ret['inline'] = ( $this->mode == "api" ) ? true : false; + $ret['inline'] = ( $this->mode == "inline" ) ? true : false; $ret['isDocroot'] = ( $this->getRootDir() == $this->getScriptRoot() ) ? true : false; $this->jsonResponse( $ret ); } diff --git a/ifm.php b/ifm.php index e714388..85b6baa 100644 --- a/ifm.php +++ b/ifm.php @@ -3463,7 +3463,7 @@ f00bar; private function getConfig() { $ret = $this->config; - $ret['inline'] = ( $this->mode == "api" ) ? true : false; + $ret['inline'] = ( $this->mode == "inline" ) ? true : false; $ret['isDocroot'] = ( $this->getRootDir() == $this->getScriptRoot() ) ? true : false; $this->jsonResponse( $ret ); } diff --git a/src/main.php b/src/main.php index 6d17de4..b1af562 100644 --- a/src/main.php +++ b/src/main.php @@ -406,7 +406,7 @@ f00bar; private function getConfig() { $ret = $this->config; - $ret['inline'] = ( $this->mode == "api" ) ? true : false; + $ret['inline'] = ( $this->mode == "inline" ) ? true : false; $ret['isDocroot'] = ( $this->getRootDir() == $this->getScriptRoot() ) ? true : false; $this->jsonResponse( $ret ); }