mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Admin/siteconfig
* also rebuild js-locales when updating available locales * somewhat unhappy with the access to generated files. need to find a better solution.
This commit is contained in:
@@ -466,6 +466,11 @@ class AjaxAdmin extends AjaxHandler
|
||||
case 'static_host':
|
||||
$buildList = 'searchplugin,power,searchboxBody,searchboxScript';
|
||||
break;
|
||||
case 'locales':
|
||||
$buildList = 'locales';
|
||||
$msg .= ' * remember to rebuild all static files for the language you just added.<br />';
|
||||
$msg .= ' * you can speed this up by supplying the regionCode to the setup: <pre class="q1">--locales=<regionCodes,> -f</pre>';
|
||||
break;
|
||||
case 'profiler_queue':
|
||||
$fn = function($x) use (&$msg) {
|
||||
if (!$x)
|
||||
|
||||
@@ -18,7 +18,7 @@ class SimpleXML extends SimpleXMLElement
|
||||
|
||||
class Util
|
||||
{
|
||||
const FILE_ACCESS = 0755;
|
||||
const FILE_ACCESS = 0777;
|
||||
|
||||
public static $localeStrings = array( // zero-indexed
|
||||
'enus', null, 'frfr', 'dede', null, null, 'eses', null, 'ruru'
|
||||
|
||||
Reference in New Issue
Block a user