[svn r17670] FS#2970 - Adding a check for writable sessions folder in the installation script. Needed for the advanced file manager.

skala
Ivan Tcholakov 16 years ago
parent 7830ff7104
commit 0fd3aa5940
  1. 6
      main/install/install_functions.inc.php

@ -543,6 +543,12 @@ function display_requirements($installType, $badUpdatePath, $updatePath='', $upd
<tr>
<td class="requirements-item">dokeos/searchdb/</td>
<td class="requirements-value">'.check_writable('../searchdb/').'</td>
</tr>
<tr>
<td class="requirements-item">'.session_save_path().'</td>
<td class="requirements-value">'.(is_writable(session_save_path())
? '<strong><font color="green">'.get_lang('Writable').'</font></strong>'
: '<strong><font color="red">'.get_lang('NotWritable').'</font></strong>').'</td>
</tr>
';
echo '</table>';

Loading…
Cancel
Save