commit | d5141d2008abbf709c30463797df16d3291e3c9c | [log] [tgz] |
---|---|---|
author | Joël Cox <joel@joelcox.nl> | Tue Aug 23 15:27:38 2011 +0200 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Wed Oct 26 23:43:50 2011 +0100 |
tree | 2913f1c72b9f5b3c52ee6db0c5738a8666734da3 | |
parent | b430ecd00aaa80c63734b508c82501bec3a0b703 [diff] [blame] |
Removed EXT constant and excessive else statement.
diff --git a/user_guide/tutorial/static_pages.html b/user_guide/tutorial/static_pages.html index d5eec43..bf52f45 100644 --- a/user_guide/tutorial/static_pages.html +++ b/user_guide/tutorial/static_pages.html
@@ -137,7 +137,7 @@ 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();