mirror of
https://github.com/e107inc/e107.git
synced 2025-05-02 18:27:52 +02:00
getThemeLayout() improvement for when exact match is used.
This commit is contained in:
parent
a7d047498e
commit
bd4348f162
@ -378,9 +378,9 @@ class e_theme
|
||||
|
||||
$kpage = rtrim($kpage, '!');
|
||||
|
||||
if(basename($request_url) === $kpage) // exact match specified by '!'.
|
||||
if(basename($request_url) === $kpage) // exact match specified by '!', skip other processing.
|
||||
{
|
||||
$def = $lyout;
|
||||
return $lyout;
|
||||
}
|
||||
elseif(substr($c_url, - strlen($kpage)) === $kpage)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user