This commit is contained in:
Shadow
2014-03-10 08:36:48 +02:00
parent 7cfb7c006a
commit c848e87fb7
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -153,6 +153,14 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
<td>Graphic Pack</td>
<td><?php if(GP_ENABLE == true) { echo "<b><font color='Green'>Enabled</font></b>"; } else { echo "<b><font color='Red'>Disabled</font></b>"; } ?></td>
</tr>
<tr>
<td>Error Reporting</td>
<td><b>
<?php
echo (ERROR_REPORT=="error_reporting (0);")? "No": (ERROR_REPORT=="error_reporting (E_ALL);")? "Yes (E_ALL)":"Yes (E_ALL ^ E_NOTICE)";
?>
</b></td>
</tr>
</table>
<table id="member">
+1
View File
@@ -34,6 +34,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = file_get_contents("constant_format.tpl");
$text = preg_replace("'%ERRORREPORT%'", $_POST['error'], $text);
$text = preg_replace("'%ERROR%'", $_POST['error'], $text);
$text = preg_replace("'%SERVERNAME%'", $_POST['servername'], $text);
$text = preg_replace("'%STIMEZONE%'", $_POST['tzone'], $text);