mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
fix #480 class_exists()의 autoload 비활성
This commit is contained in:
parent
2124ba6fa9
commit
062457415c
5 changed files with 7 additions and 7 deletions
|
|
@ -667,7 +667,7 @@ class Validator
|
|||
}
|
||||
|
||||
// current language
|
||||
$lang_type = class_exists('Context') ? Context::getLangType() : 'en';
|
||||
$lang_type = class_exists('Context', false) ? Context::getLangType() : 'en';
|
||||
|
||||
// check the file
|
||||
$filepath = $dir . '/' . md5($this->_version . ' ' . $this->_xml_path) . ".{$lang_type}.js";
|
||||
|
|
@ -706,7 +706,7 @@ class Validator
|
|||
list($ruleset) = explode('.', $ruleset);
|
||||
|
||||
// current language
|
||||
$lang_type = class_exists('Context') ? Context::getLangType() : 'en';
|
||||
$lang_type = class_exists('Context', false) ? Context::getLangType() : 'en';
|
||||
|
||||
// custom rulesets
|
||||
$addrules = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue