diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-27 19:55:29 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-10-27 19:55:29 +0100 |
commit | 54afb1d6f65f727b20b66582bb63a42c421eea4d (patch) | |
tree | 8e3eb3e10088dc4f52e58f2c8cf80f68fc26dbf9 /application/helper | |
parent | 36e6d88dbfd753665224664d5214f39ccfbbf6a5 (diff) | |
download | Shaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.tar.gz Shaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.tar.zst Shaarli-54afb1d6f65f727b20b66582bb63a42c421eea4d.zip |
Fix rebase issue
Diffstat (limited to 'application/helper')
-rw-r--r-- | application/helper/FileUtils.php | 2 |
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 | } |