summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/static_pages.html
diff options
context:
space:
mode:
authorJoël Cox <joel@joelcox.nl>2011-08-23 15:27:38 +0200
committerJoël Cox <joel@joelcox.nl>2011-08-23 15:27:38 +0200
commit4dd8977b12cdad7634aa9dbfcb80a3a60b7904e9 (patch)
treec90687130a49b6065f5fb32a71dbbac6faf63459 /user_guide/tutorial/static_pages.html
parent3bec087c7e12ad2356774bc10634b2db2f4c7ae6 (diff)
Removed EXT constant and excessive else statement.
Diffstat (limited to 'user_guide/tutorial/static_pages.html')
-rw-r--r--user_guide/tutorial/static_pages.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/tutorial/static_pages.html b/user_guide/tutorial/static_pages.html
index d5eec43da..bf52f4543 100644
--- a/user_guide/tutorial/static_pages.html
+++ b/user_guide/tutorial/static_pages.html
@@ -137,7 +137,7 @@ If you like to be particularly un-original, try &quot;Hello World!&quot;.</p>
function view($page = 'home')
{
- if ( ! file_exists('application/views/pages/' . $page . EXT))
+ if ( ! file_exists('application/views/pages/' . $page . '.php'))
{
// Whoops, we don't have a page for that!
show_404();