Added check for writable logs directory to install.php
This commit is contained in:
parent
4be77a1d33
commit
00e9525975
|
@ -70,6 +70,14 @@
|
||||||
<td class="fail">The <code><?php echo APPPATH.'cache/' ?></code> directory is not writable.</td>
|
<td class="fail">The <code><?php echo APPPATH.'cache/' ?></code> directory is not writable.</td>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Logs Directory</th>
|
||||||
|
<?php if (is_dir(APPPATH) AND is_dir(APPPATH.'logs') AND is_writable(APPPATH.'logs')): ?>
|
||||||
|
<td class="pass"><?php echo APPPATH.'logs/' ?></td>
|
||||||
|
<?php else: $failed = TRUE ?>
|
||||||
|
<td class="fail">The <code><?php echo APPPATH.'logs/' ?></code> directory is not writable.</td>
|
||||||
|
<?php endif ?>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>PCRE UTF-8</th>
|
<th>PCRE UTF-8</th>
|
||||||
<?php if ( ! @preg_match('/^.$/u', 'ñ')): $failed = TRUE ?>
|
<?php if ( ! @preg_match('/^.$/u', 'ñ')): $failed = TRUE ?>
|
||||||
|
|
Loading…
Reference in a new issue