* port extended client file handling from other branch * class DBC -> DBCReader now initializes a DBCFile which itself is a BinaryFile * update DBCReader to use the new DB wrappers multi-insert feature
18 lines
576 B
PHP
Executable file
18 lines
576 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 'includes/setup/datatypes/primitives.php';
|
|
require_once 'includes/setup/files/binaryfile.class.php';
|
|
require_once 'includes/setup/files/dbcfile.class.php';
|
|
|
|
require_once 'setup/setup.php';
|
|
|
|
?>
|