summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorGoran Grbic <tpojka@gmail.com>2016-03-12 15:26:50 +0100
committerGoran Grbic <tpojka@gmail.com>2016-03-12 15:26:50 +0100
commit7e5ed70625180c416a1b7d784c3fae7fe9ff6cea (patch)
treeca1a993da073dec83619e27cde2ee429c814dac9 /user_guide_src/source
parent6c20ad2df1935fa6190c2fe803396eb142fb495e (diff)
Removing character
Removing forward slash since `APPPATH` ends with `DIRECTORY_SEPARATOR`.
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/tutorial/static_pages.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst
index 569287c98..5daaa958f 100644
--- a/user_guide_src/source/tutorial/static_pages.rst
+++ b/user_guide_src/source/tutorial/static_pages.rst
@@ -97,7 +97,7 @@ page actually exists:
public function view($page = 'home')
{
- if ( ! file_exists(APPPATH.'/views/pages/'.$page.'.php'))
+ if ( ! file_exists(APPPATH.'views/pages/'.$page.'.php'))
{
// Whoops, we don't have a page for that!
show_404();