]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove the check for session data folder - causes trouble on some environments
authorThomas Mueller <thomas.mueller@tmit.eu>
Mon, 25 Feb 2013 09:12:47 +0000 (10:12 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Mon, 25 Feb 2013 09:12:47 +0000 (10:12 +0100)
let's try to find another solution for =C6

lib/util.php

index 87facda18049afe4d3e816c03e5c7e6e9de943f8..dd56e0308a2cc2612a48979556ffc52f3cb1bd26 100755 (executable)
@@ -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().'<br/>',
-                                       '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?<br/>',
                                'hint'=>'Please ask your server administrator to restart the web server.');