Permalink
Browse files

added in more comments

  • Loading branch information...
1 parent 628a8c6 commit f37f6466d742787e3f98e6f17906b2b69e5711fc @silentworks committed Dec 29, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 index.php
View
@@ -17,10 +17,12 @@
// Configure Twig
TwigView::$twigDirectory = dirname(__FILE__) . '/vendor/Twig';
+// Adding in extension
TwigView::$twigExtensions = array(
'Extension_Twig_Slim'
);
+// Initialize Slim with TwigView
$app = new Slim(array(
'view' => 'TwigView'
));

0 comments on commit f37f646

Please sign in to comment.