mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
913ccf4a3c 보완
This commit is contained in:
parent
913ccf4a3c
commit
28dfc44a86
2 changed files with 4 additions and 4 deletions
|
|
@ -252,10 +252,10 @@ class HTMLDisplayHandler
|
|||
$oModuleController = getController('module');
|
||||
$oModuleController->replaceDefinedLangCode($output);
|
||||
|
||||
// remove comment tag
|
||||
if(Context::get('logged_info')->is_admin !== 'Y')
|
||||
// remove template path comment tag
|
||||
if(!Rhymix\Framework\Debug::isEnabledForCurrentUser())
|
||||
{
|
||||
$output = preg_replace('/\n?<!--[^\[].*?-->/s', '', $output);
|
||||
$output = preg_replace('/\n?<!--\s?Template.*?-->\n?/', '', $output);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue