Added full source code
This commit is contained in:
commit
33f8586698
1377 changed files with 123808 additions and 0 deletions
admin
30
admin/cg_step1.php
Normal file
30
admin/cg_step1.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
set_magic_quotes_runtime(false);
|
||||
|
||||
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