From ebcb778a99e11c4c0f13ccd6bcdf11c2a0c21bc8 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Mon, 25 Feb 2013 10:12:47 +0100 Subject: [PATCH] remove the check for session data folder - causes trouble on some environments let's try to find another solution for =C6 --- lib/util.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/util.php b/lib/util.php index 87facda180..dd56e0308a 100755 --- a/lib/util.php +++ b/lib/util.php @@ -275,19 +275,6 @@ class OC_Util { $web_server_restart= false; } - $handler = ini_get("session.save_handler"); - if($handler == "files") { - $tmpDir = session_save_path(); - if($tmpDir != "") { - if(!@is_writable($tmpDir)) { - $errors[]=array('error' => 'The temporary folder used by PHP to save the session data' - .' is either incorrect or not writable! Please check : '.session_save_path().'
', - 'hint'=>'Please ask your server administrator to grant write access' - .' or define another temporary folder.'); - } - } - } - if($web_server_restart) { $errors[]=array('error'=>'PHP modules have been installed, but they are still listed as missing?
', 'hint'=>'Please ask your server administrator to restart the web server.');