Merge pull request #1887 from owncloud/fixing-1843-master
remove the check for session data folder - causes trouble on some enviro...
This commit is contained in:
commit
9ceae51091
13
lib/util.php
13
lib/util.php
|
@ -275,19 +275,6 @@ class OC_Util {
|
||||||
$web_server_restart= false;
|
$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) {
|
if($web_server_restart) {
|
||||||
$errors[]=array('error'=>'PHP modules have been installed, but they are still listed as missing?<br/>',
|
$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.');
|
'hint'=>'Please ask your server administrator to restart the web server.');
|
||||||
|
|
Loading…
Reference in New Issue