summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/static_pages.html
diff options
context:
space:
mode:
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();