mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Remove unnecessary realpath() in old class files #2310
This commit is contained in:
parent
c32eb69a20
commit
6e72186d1f
2 changed files with 1 additions and 3 deletions
|
|
@ -2223,7 +2223,7 @@ class Context
|
|||
$file = $autoPath;
|
||||
}
|
||||
}
|
||||
$validator = new Validator($file);
|
||||
$validator = new Validator(FileHandler::getRealPath($file));
|
||||
$validator->setCacheDir('files/cache');
|
||||
$file = $validator->getJsPath();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,8 +115,6 @@ class Validator
|
|||
function load($xml_path)
|
||||
{
|
||||
$this->_xml_ruleset = NULL;
|
||||
|
||||
$xml_path = realpath($xml_path);
|
||||
if(!is_readable($xml_path))
|
||||
{
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue