mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* try to give included files a logical structure * move objects from Util and Game to their own files * make non-essential files auto-loaded
16 lines
407 B
PHP
Executable File
16 lines
407 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
if (PHP_SAPI !== 'cli')
|
|
die("this script must be run from CLI\n");
|
|
if (PHP_SAPI === 'cli' && getcwd().DIRECTORY_SEPARATOR.'aowow' != __FILE__)
|
|
die("this script must be run from the aowow root directory\n");
|
|
|
|
require_once 'includes/kernel.php';
|
|
require_once 'includes/setup/cli.class.php';
|
|
require_once 'includes/setup/timer.class.php';
|
|
|
|
require_once 'setup/setup.php';
|
|
|
|
?>
|