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
22
game/admin/cg_step0.php
Normal file
22
game/admin/cg_step0.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?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("as_log.inc");
|
||||
__logAdmin("is creating game {$_SESSION['lw_new_game']['name']}");
|
||||
|
||||
$op = array(
|
||||
"pc" => 0,
|
||||
"text" => "Initialising ...",
|
||||
"delay" => 1,
|
||||
"to" => "cg_step1.php"
|
||||
);
|
||||
|
||||
include('cg_operation.inc');
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue