mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixup
* prevent direct access to some internal files where applicable and reword error for others * if CFG_DEBUG is set also enable debug in client javascript * non-breaking formatting changes * define regions and missing locales for later use
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
if (!defined('AOWOW_REVISION'))
|
||||
die('illegal access');
|
||||
|
||||
class Lang
|
||||
{
|
||||
private static $timeUnits;
|
||||
@@ -640,7 +643,7 @@ class Lang
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
} , $var);
|
||||
}, $var);
|
||||
|
||||
// color |c<aarrggbb><word>|r
|
||||
$var = preg_replace_callback('/\|c([[:xdigit:]]{2})([[:xdigit:]]{6})(.+?)\|r/is', function ($m) use ($fmt)
|
||||
|
||||
Reference in New Issue
Block a user