mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Issue #6 LAN BC Fixes.
This commit is contained in:
@@ -666,16 +666,19 @@ class language{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function bcDefs()
|
||||
/**
|
||||
* Define Legacy LAN constants based on a supplied array.
|
||||
* @param null $bcList
|
||||
*/
|
||||
public function bcDefs($bcList = null)
|
||||
{
|
||||
|
||||
$bcList = array(
|
||||
'LAN_180' => 'LAN_SEARCH'
|
||||
|
||||
);
|
||||
|
||||
if(empty($bcList))
|
||||
{
|
||||
$bcList = array(
|
||||
'LAN_180' => 'LAN_SEARCH'
|
||||
);
|
||||
}
|
||||
|
||||
foreach($bcList as $old => $new)
|
||||
{
|
||||
|
Reference in New Issue
Block a user