mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
913ccf4a3c 보완
This commit is contained in:
parent
913ccf4a3c
commit
28dfc44a86
2 changed files with 4 additions and 4 deletions
|
|
@ -359,7 +359,7 @@ class TemplateHandler
|
|||
}
|
||||
|
||||
// insert template path comment tag
|
||||
if(config('debug.enabled') && Context::get('logged_info')->is_admin === 'Y')
|
||||
if(config('debug.enabled') && Rhymix\Framework\Debug::isEnabledForCurrentUser())
|
||||
{
|
||||
$sign = PHP_EOL . '<!-- Template %s : ' . $this->web_path . $this->filename . ' -->' . PHP_EOL;
|
||||
$contents = sprintf($sign, 'start') . $contents . sprintf($sign, 'end');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue