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

Issue #6 Language-file optimization.

This commit is contained in:
Cameron
2015-07-10 15:41:07 -07:00
parent c3d8cd9236
commit 9c6cfc0b86
10 changed files with 44 additions and 30 deletions

View File

@@ -665,4 +665,27 @@ class language{
return $this->list;
}
public function bcDefs()
{
$bcList = array(
'LAN_180' => 'LAN_SEARCH'
);
foreach($bcList as $old => $new)
{
if(!defined($old) && defined($new))
{
define($old, constant($new));
}
}
}
}