@@ 285-290 (lines=6) @@ | ||
282 | } |
|
283 | else |
|
284 | { |
|
285 | if ( ! is_dir(BASEPATH.$application_folder.DIRECTORY_SEPARATOR)) |
|
286 | { |
|
287 | header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); |
|
288 | echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF; |
|
289 | exit(3); // EXIT_CONFIG |
|
290 | } |
|
291 | ||
292 | define('APPPATH', BASEPATH.$application_folder.DIRECTORY_SEPARATOR); |
|
293 | } |
|
@@ 302-307 (lines=6) @@ | ||
299 | { |
|
300 | $view_folder = APPPATH.$view_folder; |
|
301 | } |
|
302 | elseif ( ! is_dir(APPPATH.'views'.DIRECTORY_SEPARATOR)) |
|
303 | { |
|
304 | header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); |
|
305 | echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF; |
|
306 | exit(3); // EXIT_CONFIG |
|
307 | } |
|
308 | else |
|
309 | { |
|
310 | $view_folder = APPPATH.'views'; |