mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
substr_compare()에서 문제를 일으킬 수 있는 부분 보완.
This commit is contained in:
parent
3430d4fae5
commit
e9dacc6cdf
5 changed files with 8 additions and 7 deletions
|
|
@ -2209,11 +2209,11 @@ class Context
|
|||
$filename = substr($filename, 2);
|
||||
}
|
||||
|
||||
if(substr_compare($filename, '.js', -3, 3, TRUE) === 0)
|
||||
if(substr_compare($filename, '.js', -3) === 0)
|
||||
{
|
||||
$result->jsList[] = $plugin_path . $filename;
|
||||
}
|
||||
elseif(substr_compare($filename, '.css', -4, 4, TRUE) === 0)
|
||||
elseif(substr_compare($filename, '.css', -4) === 0)
|
||||
{
|
||||
$result->cssList[] = $plugin_path . $filename;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue