1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

New language file types: English_global.php (for plugin.xml terms) and English_log.php (for admin-log terms). Auto-detected when present and loaded automatically when needed.

This commit is contained in:
Cameron
2012-12-12 18:46:34 -08:00
parent 0cfce79337
commit 87e225fc36
35 changed files with 276 additions and 144 deletions

View File

@@ -566,10 +566,28 @@ if(is_readable($customLan)) // FASTER - if exist, should be done 'once' by the c
}
unset($customLan);
$sql->db_Mark_Time('Start: Global Language Files');
if(isset($pref['lan_global_list']))
{
foreach($pref['lan_global_list'] as $path)
{
e107::plugLan($path,'global',true);
}
}
$sql->db_Mark_Time('Start: CHAPT challenge');
e107::getSession()
->challenge() // Create a unique challenge string for CHAP login
->check(); // Token protection
//
// N: misc setups: online user tracking, cache
//