mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
substr_compare() 사용에 대한 보완
This commit is contained in:
parent
833d218a66
commit
4d9e68b9e4
5 changed files with 20 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ class FileHandler
|
|||
*/
|
||||
function getRealPath($source)
|
||||
{
|
||||
if(strlen($source) > 2 && substr_compare($source, './', 0, 2) === 0)
|
||||
if(isset() && substr_compare($source, './', 0, 2) === 0)
|
||||
{
|
||||
return _XE_PATH_ . substr($source, 2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue