Browse files

reduced template specification to just the template type in prep for …

…splitting templates into multiple files
  • Loading branch information...
1 parent ff22f51 commit 5d3e24ed23a583b9c3c23d976012cf0fa87a493f erik committed Nov 13, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.php
View
4 index.php
@@ -6,11 +6,11 @@
$feedUrl = 'http://news.discovery.com/rss/news/';
//the name of the template to use
-$templatePath = 'templates/standard.php';
+$template = 'standard';
//END: config
//render template
-require $templatePath;
+require "templates/$template.php";
?>

0 comments on commit 5d3e24e

Please sign in to comment.