Files
aowow/aowow
Sarjuuk 72c4cb2e8b CLISetup:
- access setup via 'php aowow'
 - index.php is now strictly for page display
2015-06-02 23:37:33 +02:00

13 lines
267 B
Plaintext

<?php
require 'includes/shared.php';
if (!CLI)
die("this script must be run from CLI\n");
if (CLI && getcwd().DIRECTORY_SEPARATOR.'aowow' != __FILE__)
die("this script must be run from root directory\n");
else
require 'setup/setup.php';
?>