aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/helper
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-27 19:55:29 +0100
committerArthurHoaro <arthur@hoa.ro>2020-10-27 19:55:29 +0100
commit54afb1d6f65f727b20b66582bb63a42c421eea4d (patch)
tree8e3eb3e10088dc4f52e58f2c8cf80f68fc26dbf9 /application/helper
parent36e6d88dbfd753665224664d5214f39ccfbbf6a5 (diff)
downloadShaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.tar.gz
Shaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.tar.zst
Shaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.zip
Fix rebase issue
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 }