aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/helper
diff options
context:
space:
mode:
Diffstat (limited to 'application/helper')
-rw-r--r--application/helper/FileUtils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/helper/FileUtils.php b/application/helper/FileUtils.php
index 2d50d850..2eac0793 100644
--- a/application/helper/FileUtils.php
+++ b/application/helper/FileUtils.php
@@ -133,7 +133,7 @@ class FileUtils
133 */ 133 */
134 public static function isPathInShaarliFolder(string $path): bool 134 public static function isPathInShaarliFolder(string $path): bool
135 { 135 {
136 $rootDirectory = dirname(dirname(__FILE__)); 136 $rootDirectory = dirname(dirname(dirname(__FILE__)));
137 137
138 return strpos(realpath($path), $rootDirectory) !== false; 138 return strpos(realpath($path), $rootDirectory) !== false;
139 } 139 }