summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-01-25 23:42:00 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-01-25 23:42:00 +0100
commit5a12acf1388ad2508658a2720b45b97671b8c78b (patch)
tree0afdd6a5fe1bcf8d0fecec19b50f3dc0c715746a
parent99015bc4389711cf19342c7f0f86cc980da79a2c (diff)
parent5aca23eaeb6d8c4e665dd2cd23fe8d733bb94875 (diff)
Merge pull request #973 from CroNiX/patch-2
Change hardcoded "application" directory to use the APPPATH constant as ...
-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 c7f737951..708eaeb7b 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('application/views/pages/'.$page.'.php'))
+ if ( ! file_exists(APPPATH.'/views/pages/'.$page.'.php'))
{
// Whoops, we don't have a page for that!
show_404();