* finish task #2292.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -79,7 +79,6 @@
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if(preg_match('/WIN/i', PHP_OS)):?>
|
||||
<tr>
|
||||
<th><?php echo $lang->install->session;?></th>
|
||||
<td>
|
||||
@@ -103,7 +102,6 @@
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
</table>
|
||||
</div>
|
||||
<div class='modal-footer'>
|
||||
|
||||
Reference in New Issue
Block a user