mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Fixes #3912 Theme visibility script flag fix.
This commit is contained in:
@@ -419,6 +419,8 @@ class e_theme
|
|||||||
|
|
||||||
foreach($cusPageArray as $kpage)
|
foreach($cusPageArray as $kpage)
|
||||||
{
|
{
|
||||||
|
$kpage = str_replace('$', '$', $kpage); // convert database encoding.
|
||||||
|
|
||||||
$lastChar = substr($kpage, -1);
|
$lastChar = substr($kpage, -1);
|
||||||
|
|
||||||
if($lastChar === '$') // script name match.
|
if($lastChar === '$') // script name match.
|
||||||
|
Reference in New Issue
Block a user