diff options
author | Goran Grbic <tpojka@gmail.com> | 2016-03-12 15:26:50 +0100 |
---|---|---|
committer | Goran Grbic <tpojka@gmail.com> | 2016-03-12 15:26:50 +0100 |
commit | 7e5ed70625180c416a1b7d784c3fae7fe9ff6cea (patch) | |
tree | ca1a993da073dec83619e27cde2ee429c814dac9 | |
parent | 6c20ad2df1935fa6190c2fe803396eb142fb495e (diff) |
Removing character
Removing forward slash since `APPPATH` ends with `DIRECTORY_SEPARATOR`.
-rw-r--r-- | user_guide_src/source/tutorial/static_pages.rst | 2 |
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(); |