From d067af11906a9d367de3650c1b7fc9a684f9c10a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 7 Nov 2005 19:03:20 +0000 Subject: [PATCH] removed config directories from permission check, might be read-only intentionally --- lam/templates/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/login.php b/lam/templates/login.php index c5dc9a9b..2cde878d 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -46,7 +46,7 @@ if (! function_exists('gettext') || !function_exists('_')) { $criticalErrors[] = array("ERROR", "Your PHP has no gettext support!", "Please install gettext for PHP."); } // check file permissions -$writableDirs = array('config', 'config/profiles', 'config/pdf', 'sess', 'tmp', ); +$writableDirs = array('sess', 'tmp'); for ($i = 0; $i < sizeof($writableDirs); $i++) { $path = realpath('../') . "/" . $writableDirs[$i]; if (!is_writable($path)) {