mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 21:41:29 +00:00
add test for LOCK_DIRECTORY
This commit is contained in:
@@ -63,6 +63,10 @@
|
|||||||
$err_msg = "ICONS_DIR defined in config.php is not writable (chmod -R 777 ".ICONS_DIR.").\n";
|
$err_msg = "ICONS_DIR defined in config.php is not writable (chmod -R 777 ".ICONS_DIR.").\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!is_writable(LOCK_DIRECTORY)) {
|
||||||
|
$err_msg = "LOCK_DIRECTORY defined in config.php is not writable (chmod -R 777 ".LOCK_DIRECTORY.").\n";
|
||||||
|
}
|
||||||
|
|
||||||
if (ini_get("open_basedir")) {
|
if (ini_get("open_basedir")) {
|
||||||
$err_msg = "PHP configuration option open_basedir is not supported. Please disable this in PHP settings file (php.ini).";
|
$err_msg = "PHP configuration option open_basedir is not supported. Please disable this in PHP settings file (php.ini).";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user