diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
commit | 211f699aa0c4211e4ee8a02446d51b9811d0c28c (patch) | |
tree | 1335af2487e9668d24db1dace41bdf46f1c10763 /include/sanity_check.php | |
parent | 383f4ca04af8c7a1ff4f8be5a488f6799e0e0d37 (diff) |
migrate the rest into Config::
Diffstat (limited to 'include/sanity_check.php')
-rwxr-xr-x | include/sanity_check.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php index 5efd23d98..4831209ba 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -103,8 +103,8 @@ } } - if (!is_writable(ICONS_DIR)) { - array_push($errors, "ICONS_DIR defined in config.php is not writable (chmod -R 777 ".ICONS_DIR.").\n"); + if (!is_writable(Config::get(Config::ICONS_DIR))) { + array_push($errors, "ICONS_DIR defined in config.php is not writable (chmod -R 777 ".Config::get(Config::ICONS_DIR).").\n"); } if (!is_writable(Config::get(Config::LOCK_DIRECTORY))) { |