mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Misc
* fixed auth against TCs auth table * check for real paths when creating emote aliasses * races page no longer identifies as classes * fixed item comparison tool * fixed js error when trying to display spawn maps
This commit is contained in:
@@ -36,6 +36,10 @@ class DB
|
||||
if ($options['prefix'])
|
||||
$interface->setIdentPrefix($options['prefix']);
|
||||
|
||||
// kill STRICT_TRANS_TABLES and STRICT_ALL_TABLES off. It prevents usage of implicit default values.
|
||||
if ($idx == DB_AOWOW)
|
||||
$interface->query('SET SESSION sql_mode = \'NO_ENGINE_SUBSTITUTION\'');
|
||||
|
||||
self::$interfaceCache[$idx] = &$interface;
|
||||
self::$connectionCache[$idx] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user