fix: work on very basic PHP remediation
This commit is contained in:
parent
b18b795ab3
commit
6ee9078e0c
117 changed files with 216 additions and 208 deletions
admin
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
|
||||
set_magic_quotes_runtime(false);
|
||||
|
||||
include('config.inc');
|
||||
include('../scripts/config.inc');
|
||||
include('as_manager.inc');
|
||||
|
@ -137,25 +135,25 @@ if (!class_exists('config')) {
|
|||
<body>
|
||||
<h1><a href="index.html">LWB5 > Administration</a> > Ticks</h1>
|
||||
<h2>Manager status</h2>
|
||||
<p>Tick manager status: <?
|
||||
<p>Tick manager status: <?php
|
||||
|
||||
if ($mRunning === false) {
|
||||
?>
|
||||
<b>not running</b> - <a href="?c=sm">Start manager</a>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
?> <b>running</b>, process ID #<?=$mRunning?> - <a href="?c=km">Kill manager</a><br/>
|
||||
<?
|
||||
<?php
|
||||
if ($tActive === 'pending') {
|
||||
?> Ticks status change pending; please <a href="?">reload</a> the page.<br/>
|
||||
This can take up to 20 seconds, be patient.
|
||||
<?
|
||||
<?php
|
||||
} elseif ($tActive) {
|
||||
?> Ticks are <b>active</b> - <a href="?c=dt">Disable ticks</a>
|
||||
<?
|
||||
<?php
|
||||
} else {
|
||||
?> Ticks are <b>inactive</b> - <a href="?c=et">Enable ticks</a>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -203,7 +201,7 @@ if ($statusMessage != '') {
|
|||
for game
|
||||
<select name="g">
|
||||
<option value="">-- select --</option>
|
||||
<?
|
||||
<?php
|
||||
$games = config::getGames();
|
||||
foreach (array_keys($games) as $game) {
|
||||
if ($game == 'main') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue