* 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:
Sarjuuk
2015-08-06 18:21:24 +02:00
parent 38ac7b1dcb
commit 81e6098960
9 changed files with 309 additions and 150 deletions

View File

@@ -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';