From 5800de6835bfa943b7ffca94917f3f85696cc35f Mon Sep 17 00:00:00 2001
From: Wes Baker
Date: Wed, 14 May 2014 14:20:54 -0400
Subject: Corrections to the tutorial.
---
user_guide/tutorial/static_pages.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'user_guide/tutorial/static_pages.html')
diff --git a/user_guide/tutorial/static_pages.html b/user_guide/tutorial/static_pages.html
index 4b138d74e..e9aaa9739 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 "Hello World!".
public function view($page = 'home')
{
- if ( ! file_exists('application/views/pages/'.$page.'.php'))
+ if ( ! file_exists(APPPATH.'/views/pages/'.$page.'.php'))
{
// Whoops, we don't have a page for that!
show_404();
@@ -203,4 +203,4 @@ Next Topic: News section