diff --git a/ifm.php b/ifm.php index 0ff27c1..18b63bd 100644 --- a/ifm.php +++ b/ifm.php @@ -1181,7 +1181,7 @@ $(document).ready(function() {ifm.init()}); // init ifm Content of '; - if(IFMConfig::showpath == 1) print getScriptRoot().'/'; else print '/'; + if(IFMConfig::showpath == 1) print $this->getScriptRoot().'/'; else print '/'; print ' diff --git a/src/main.php b/src/main.php index 976e42b..d9d8cbb 100644 --- a/src/main.php +++ b/src/main.php @@ -48,7 +48,7 @@ class IFM { Content of '; - if(IFMConfig::showpath == 1) print getScriptRoot().'/'; else print '/'; + if(IFMConfig::showpath == 1) print $this->getScriptRoot().'/'; else print '/'; print '