mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 10:37:14 +00:00
update
This commit is contained in:
@@ -153,6 +153,14 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
|||||||
<td>Graphic Pack</td>
|
<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>
|
<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>
|
||||||
|
<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>
|
||||||
|
|
||||||
<table id="member">
|
<table id="member">
|
||||||
|
|||||||
@@ -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 = file_get_contents("constant_format.tpl");
|
||||||
|
$text = preg_replace("'%ERRORREPORT%'", $_POST['error'], $text);
|
||||||
$text = preg_replace("'%ERROR%'", $_POST['error'], $text);
|
$text = preg_replace("'%ERROR%'", $_POST['error'], $text);
|
||||||
$text = preg_replace("'%SERVERNAME%'", $_POST['servername'], $text);
|
$text = preg_replace("'%SERVERNAME%'", $_POST['servername'], $text);
|
||||||
$text = preg_replace("'%STIMEZONE%'", $_POST['tzone'], $text);
|
$text = preg_replace("'%STIMEZONE%'", $_POST['tzone'], $text);
|
||||||
|
|||||||
Reference in New Issue
Block a user