remove safe mode check

This commit is contained in:
Sebijk 2022-03-06 16:53:16 +01:00
parent 0e1d1045b1
commit 9544eb9cb1
2 changed files with 0 additions and 8 deletions

View file

@ -159,7 +159,6 @@ if($_REQUEST['action'] == 'common')
// assign // assign
$tpl->assign('wartungwhitelist', $whitelist); $tpl->assign('wartungwhitelist', $whitelist);
$tpl->assign('safemode', ini_get('safe_mode'));
$tpl->assign('languages', $languages); $tpl->assign('languages', $languages);
$tpl->assign('countries', CountryList()); $tpl->assign('countries', CountryList());
$tpl->assign('page', 'prefs.common.tpl'); $tpl->assign('page', 'prefs.common.tpl');

View file

@ -137,13 +137,6 @@
<td class="td2"><input type="checkbox" name="structstorage"{if $bm_prefs.structstorage=='yes'&&!$safemode} checked="checked"{/if}{if $safemode} disabled="disabled"{/if} /></td> <td class="td2"><input type="checkbox" name="structstorage"{if $bm_prefs.structstorage=='yes'&&!$safemode} checked="checked"{/if}{if $safemode} disabled="disabled"{/if} /></td>
</tr> </tr>
</table> </table>
{if $safemode}
<p>
<img src="{$tpldir}images/warning.png" border="0" alt="" width="16" height="16" align="absmiddle" />
{lng p="structsafewarn"}
</p>
{/if}
</fieldset> </fieldset>
<fieldset> <fieldset>