From 3181ae2a93b2c46112040036267d7c1767fe5109 Mon Sep 17 00:00:00 2001
From: Derek Jones
Date: Thu, 25 Mar 2010 10:28:46 -0500
Subject: updated docs to encourage installation of application and system
folders above web root
---
user_guide/changelog.html | 1 +
user_guide/installation/index.html | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 7a6ef0620..3f569abe2 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -68,6 +68,7 @@ Hg Tag:
Scaffolding, having been deprecated for a number of versions, has been removed.
Plugins have been removed, in favor of Helpers. The CAPTCHA plugin has been converted to a Helper and documented. The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery.
Added new special Library type: Drivers.
+ Moved the application folder outside of the system folder.
Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.
Added the ability to set config values (or override config values) directly from data set in the main index.php file. This allows a single application to be used with multiple front controllers, each having its own config values.
Added $config['directory_trigger'] to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments.
diff --git a/user_guide/installation/index.html b/user_guide/installation/index.html
index 08f37ac9e..a64461314 100644
--- a/user_guide/installation/index.html
+++ b/user_guide/installation/index.html
@@ -66,9 +66,14 @@ Installation Instructions
If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.
-If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system folder
-to something more private. If you do rename it, you must open your main index.php file and set the $system_folder
-variable at the top of the page with the new name you've chosen.
+If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system and application folders
+to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder
+variables at the top of the file with the new name you've chosen.
+
+For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. By default, .htaccess files are included in each folder to help prevent direct access, but it is best to remove them from public access entirely in case the web server configuration changes or doesn't abide by the .htaccess.
+
+After moving them, open your main index.php file and set the $system_folder and $application_folder variables, preferably with a full path, e.g. '/www/MyUser/system'.
+
That's it!
--
cgit v1.2.3-24-g4f1b