mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
getThemeLayout() improvement for when exact match is used.
This commit is contained in:
@@ -378,9 +378,9 @@ class e_theme
|
|||||||
|
|
||||||
$kpage = rtrim($kpage, '!');
|
$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)
|
elseif(substr($c_url, - strlen($kpage)) === $kpage)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user