diff --git a/includes/utilities.php b/includes/utilities.php index acf65a7a..29c32689 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -456,7 +456,7 @@ class Timer abstract class Util { - const FILE_ACCESS = 0777; + const FILE_ACCESS = 0755; const GEM_SCORE_BASE_WOTLK = 16; // rare quality wotlk gem score const GEM_SCORE_BASE_BC = 8; // rare quality bc gem score diff --git a/setup/tools/clisetup/dbconfig.func.php b/setup/tools/clisetup/dbconfig.func.php index 0257cb08..76de2846 100644 --- a/setup/tools/clisetup/dbconfig.func.php +++ b/setup/tools/clisetup/dbconfig.func.php @@ -116,7 +116,7 @@ function dbconfig() : void { if ($db != 'characters') $buff .= '$AoWoWconf[\''.$db.'\'] = '.var_export($AoWoWconf[$db], true).";\n\n"; - else + else if (isset($AoWoWconf[$db])) foreach ($AoWoWconf[$db] as $idx => $charInfo) $buff .= '$AoWoWconf[\''.$db.'\'][\''.$idx.'\'] = '.var_export($AoWoWconf[$db][$idx], true).";\n\n"; } diff --git a/setup/tools/clisetup/setup.func.php b/setup/tools/clisetup/setup.func.php index 3d78ecda..790d88ca 100644 --- a/setup/tools/clisetup/setup.func.php +++ b/setup/tools/clisetup/setup.func.php @@ -99,6 +99,7 @@ function setup() : void ['FileGen::generate', 'gems', null, null, null], ['FileGen::generate', 'profiler', null, null, null], ['FileGen::generate', 'weightPresets', null, null, null], + ['FileGen::generate', 'markup', null, null, null], // apply sql-updates from repository ['update', &$upd, null, null, null], ['sync', &$upd, null, null, null],