in reply to Another noob making a mess of variable scope....

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.

  • Comment on Re: Another noob making a mess of variable scope....