chore: reorganize files for easier Docker integration
This commit is contained in:
parent
ab00e5ee08
commit
99511fe11f
1222 changed files with 0 additions and 0 deletions
game/admin
28
game/admin/cg_step1.php
Normal file
28
game/admin/cg_step1.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
session_start();
|
||||
if (!is_array($_SESSION['lw_new_game']) || !$_SESSION['lw_new_game']['do_it_now'] || !$_SESSION['lw_new_game']['started']) {
|
||||
echo "Sorry, can't do that.";
|
||||
exit(0);
|
||||
}
|
||||
$_SESSION['lw_new_game']['started'] = true;
|
||||
|
||||
include("../scripts/config.inc");
|
||||
if (is_null($config['maintenance'])) {
|
||||
$text = "Enabling maintenance mode";
|
||||
$next = "cg_step2.php";
|
||||
} else {
|
||||
$text = "Checking existing IDs";
|
||||
$next = "cg_step4.php";
|
||||
}
|
||||
|
||||
$op = array(
|
||||
"pc" => 5,
|
||||
"text" => $text,
|
||||
"delay" => 1,
|
||||
"to" => $next
|
||||
);
|
||||
|
||||
include('cg_operation.inc');
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue