1
0
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:
Cameron
2015-08-07 12:23:09 -07:00
parent f2eb9b9769
commit 62c50975f8
2 changed files with 27 additions and 11 deletions

View File

@@ -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)
{