In addition to the already mentioned issues, you've declared $configFile but never assigned it a value so the $twig->parsefile statement won't have a file to parse.
Oops, I missed the assignment statement in the script. Forget what I said.
In reply to Re: Another noob making a mess of variable scope....
by fishmonger
in thread Another noob making a mess of variable scope....
by frodo2014
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |