mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Home
* added variable titles and oneliners to frontpage * added cascading foreign keys to news_overlay -> news * renamed news -> featuredbox for consistency Misc * aowow_dbversion is now part of the basic sql * also the db-dump is a fresh one and i'm shocked how often i forgot to apply updated there :< * from now on shorttags will be used for 'echo' in template (e.g. <?=$var; ?>)
This commit is contained in:
@@ -58,13 +58,8 @@ else
|
||||
CLISetup::init();
|
||||
|
||||
$cmd = array_pop(array_keys($opt));
|
||||
switch ($cmd) // we accept only one main parameter
|
||||
switch ($cmd) // we accept only one main parameter
|
||||
{
|
||||
case 'update':
|
||||
require_once 'setup/tools/clisetup/update.func.php';
|
||||
update();
|
||||
|
||||
return;
|
||||
case 'firstrun':
|
||||
case 'resume':
|
||||
require_once 'setup/tools/clisetup/firstrun.func.php';
|
||||
@@ -80,6 +75,10 @@ switch ($cmd) // we accept only one main parameter
|
||||
$cmd();
|
||||
|
||||
finish();
|
||||
case 'update':
|
||||
require_once 'setup/tools/clisetup/update.func.php';
|
||||
if (update()) // return true if we do not rebuild stuff
|
||||
return;
|
||||
case 'sync':
|
||||
require_once 'setup/tools/clisetup/sql.func.php';
|
||||
require_once 'setup/tools/clisetup/build.func.php';
|
||||
|
||||
Reference in New Issue
Block a user