mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +09:00
#18848369 global $lang 변수 타입 보호
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7374 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b7f8e34a2e
commit
de50230410
1 changed files with 1 additions and 0 deletions
|
|
@ -509,6 +509,7 @@
|
|||
**/
|
||||
function _loadLang($path) {
|
||||
global $lang;
|
||||
if(!is_object($lang)) $lang = new stdClass;
|
||||
if(!$this->lang_type) return;
|
||||
if(substr($path,-1)!='/') $path .= '/';
|
||||
$filename = sprintf('%s%s.lang.php', $path, $this->lang_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue