diff options
author | Frank Karlitschek <karlitschek@kde.org> | 2011-04-16 20:35:15 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@kde.org> | 2011-04-16 20:35:15 +0200 |
commit | fb74de326d9bb9b8b215f2f819c9aa7bd56a2438 (patch) | |
tree | e33b176ccfbbc114279e68cffcb0fb03d85ea14d /lib/base.php | |
parent | 1372d8339d78c01b1514708f26520e244cc991e2 (diff) | |
parent | bf45dcb959a4afbfcfb158dea55acf3804c49ea9 (diff) | |
download | nextcloud-server-fb74de326d9bb9b8b215f2f819c9aa7bd56a2438.tar.gz nextcloud-server-fb74de326d9bb9b8b215f2f819c9aa7bd56a2438.zip |
Merge branch 'refactoring' of git.kde.org:owncloud into refactoring
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php index 8504518dbfb..9fc9d57f7ae 100644 --- a/lib/base.php +++ b/lib/base.php @@ -23,8 +23,7 @@ // set some stuff //ob_start(); -// error_reporting(E_ALL | E_STRICT); -error_reporting( E_ERROR | E_PARSE | E_WARNING ); // MDB2 gives loads of strict error, disabling for now +error_reporting(E_ALL | E_STRICT); date_default_timezone_set('Europe/Berlin'); ini_set('arg_separator.output','&'); @@ -305,7 +304,7 @@ class OC_UTIL { }else{ //TODO: premisions checks for windows hosts } - if(!is_writable($CONFIG_DATADIRECTORY_ROOT)){ + if(is_dir($CONFIG_DATADIRECTORY_ROOT) and !is_writable($CONFIG_DATADIRECTORY_ROOT)){ $errors[]=array('error'=>'Data directory ('.$CONFIG_DATADIRECTORY_ROOT.') not writable by ownCloud<br/>','hint'=>$permissionsHint); } |