Debug
' . print_r($debug, true) . '

'; } $twig = new Twig_Environment($loader, Array( 'autoescape' => false, 'cache' => 'cache', 'debug' => ($config['debug'] ? true : false), )); // Read the template file if(@file_get_contents("{$config['dir']['template']}/${templateFile}")) { return $twig->render($templateFile, $options); } else { throw new Exception("Template file '${templateFile}' does not exist or is empty in '{$config['dir']['template']}'!"); } } ?>