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:
18
class2.php
18
class2.php
@@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user