Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
reduced template specification to just the template type in prep for …
Browse files Browse the repository at this point in the history
…splitting templates into multiple files
  • Loading branch information
erik committed Nov 13, 2009
1 parent ff22f51 commit 5d3e24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -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.