diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-27 20:15:17 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-27 20:15:17 +0100 |
commit | c323493380eba2f1418380f35db0c0bf52b82838 (patch) | |
tree | f6dc601d0e9af7c15b41d746cc76de0c7da3501a /user_guide_src/source/tutorial | |
parent | f1993c825f568e0ab5d08a8810f96363f0713dad (diff) | |
parent | 0c4fb6a578d23e5a0fa5c8ce41a75d2b2b1310e7 (diff) |
Merge remote-tracking branch 'upstream/develop' into develop-db-driver
Diffstat (limited to 'user_guide_src/source/tutorial')
-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 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(); |