Revision 811
Added by thorn over 16 years ago
trunk/wb/install/index.php | ||
---|---|---|
153 | 153 |
<td width="115" style="color: #666666;">PHP Safe Mode</td> |
154 | 154 |
<td> |
155 | 155 |
<?php |
156 |
if(ini_get('safe_mode')=='' || stripos(ini_get('safe_mode'), 'off')!==FALSE || ini_get('safe_mode')==0) {
|
|
156 |
if(ini_get('safe_mode')=='' || strpos(strtolower(ini_get('safe_mode')), 'off')!==FALSE || ini_get('safe_mode')==0) {
|
|
157 | 157 |
?><font class="good">Disabled</font><?php |
158 | 158 |
} else { |
159 | 159 |
?><font class="bad">Enabled</font><?php |
Also available in: Unified diff
accidentally used stripos instead of strpos. fixed