[Templating] added a safeguard when no debugger is available
This commit is contained in:
parent
e1aae4b820
commit
ae7d911bce
@ -85,10 +85,13 @@ class FilesystemLoader extends Loader
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->debugger)
|
||||||
|
{
|
||||||
foreach ($logs as $log)
|
foreach ($logs as $log)
|
||||||
{
|
{
|
||||||
$this->debugger->log($log);
|
$this->debugger->log($log);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user