mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixups
* remove w from umask for generated files * fixed warning in setup dbconfig * added lost Markup.js generation to initial setup
This commit is contained in:
@@ -456,7 +456,7 @@ class Timer
|
|||||||
|
|
||||||
abstract class Util
|
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_WOTLK = 16; // rare quality wotlk gem score
|
||||||
const GEM_SCORE_BASE_BC = 8; // rare quality bc gem score
|
const GEM_SCORE_BASE_BC = 8; // rare quality bc gem score
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ function dbconfig() : void
|
|||||||
{
|
{
|
||||||
if ($db != 'characters')
|
if ($db != 'characters')
|
||||||
$buff .= '$AoWoWconf[\''.$db.'\'] = '.var_export($AoWoWconf[$db], true).";\n\n";
|
$buff .= '$AoWoWconf[\''.$db.'\'] = '.var_export($AoWoWconf[$db], true).";\n\n";
|
||||||
else
|
else if (isset($AoWoWconf[$db]))
|
||||||
foreach ($AoWoWconf[$db] as $idx => $charInfo)
|
foreach ($AoWoWconf[$db] as $idx => $charInfo)
|
||||||
$buff .= '$AoWoWconf[\''.$db.'\'][\''.$idx.'\'] = '.var_export($AoWoWconf[$db][$idx], true).";\n\n";
|
$buff .= '$AoWoWconf[\''.$db.'\'][\''.$idx.'\'] = '.var_export($AoWoWconf[$db][$idx], true).";\n\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ function setup() : void
|
|||||||
['FileGen::generate', 'gems', null, null, null],
|
['FileGen::generate', 'gems', null, null, null],
|
||||||
['FileGen::generate', 'profiler', null, null, null],
|
['FileGen::generate', 'profiler', null, null, null],
|
||||||
['FileGen::generate', 'weightPresets', null, null, null],
|
['FileGen::generate', 'weightPresets', null, null, null],
|
||||||
|
['FileGen::generate', 'markup', null, null, null],
|
||||||
// apply sql-updates from repository
|
// apply sql-updates from repository
|
||||||
['update', &$upd, null, null, null],
|
['update', &$upd, null, null, null],
|
||||||
['sync', &$upd, null, null, null],
|
['sync', &$upd, null, null, null],
|
||||||
|
|||||||
Reference in New Issue
Block a user