mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
substr_compare()에서 문제를 일으킬 수 있는 부분 보완.
This commit is contained in:
parent
3430d4fae5
commit
e9dacc6cdf
5 changed files with 8 additions and 7 deletions
|
|
@ -38,7 +38,8 @@ class HTMLDisplayHandler
|
|||
if(count($theme_skin) == 2)
|
||||
{
|
||||
$theme_path = sprintf('./themes/%s', $theme_skin[0]);
|
||||
if(substr_compare($theme_path, $theme_path, 0, strlen($theme_path)) !== 0)
|
||||
// FIXME $theme_path $theme_path $theme_path ??
|
||||
if(substr($theme_path, 0, strlen($theme_path)) != $theme_path)
|
||||
{
|
||||
$template_path = sprintf('%s/modules/%s/', $theme_path, $theme_skin[1]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue