diff --git a/module/install/model.php b/module/install/model.php index 6b2627a742..0c5581e9fa 100644 --- a/module/install/model.php +++ b/module/install/model.php @@ -133,14 +133,10 @@ class installModel extends model */ public function getSessionSavePath() { - if(preg_match('/WIN/i', PHP_OS)) - { - $result['path'] = preg_replace("/\d;/", '', session_save_path()); - $result['exists'] = is_dir($result['path']); - $result['writable'] = is_writable($result['path']); - return $result; - } - return array('path' => '/tmp', 'exists' => true, 'writable' => true); + $result['path'] = preg_replace("/\d;/", '', session_save_path()); + $result['exists'] = is_dir($result['path']); + $result['writable'] = is_writable($result['path']); + return $result; } /** diff --git a/module/install/view/step1.html.php b/module/install/view/step1.html.php index 3465aa7085..c7d84cda98 100644 --- a/module/install/view/step1.html.php +++ b/module/install/view/step1.html.php @@ -79,7 +79,6 @@ ?> -