For make the code more clean I can suggest to add space before and after the dots, when you concating the strings.
But the code can be without space, with space, even with new line before or after, that code looks weird but it will works:
Code:
include __DIR__ .
'
/../Templates/'
. $templateFileName
;
Thanks Michalio. So it doesn't matter if it is with or without a space. That part of the problem was solved, and that is not where the error lies. Therefore, I can ignore __DIR__ . and move on debugging
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.