summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/installation
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-02-06 14:25:40 +0100
committerAndrey Andreev <narf@devilix.net>2016-02-06 14:26:20 +0100
commitb37036a48a7639b82050d9aba24d92a48f50de75 (patch)
treebf45f5572c6503e7e6a266c5bb0ab35cda2e54ba /user_guide_src/source/installation
parentacc2f249315f70bfb9c236389627869d4b247930 (diff)
Merge pull request #4410 from ShrmnK/develop
[ci skip] Consistent formatting of file paths and inline code in docs
Diffstat (limited to 'user_guide_src/source/installation')
-rw-r--r--user_guide_src/source/installation/index.rst18
-rw-r--r--user_guide_src/source/installation/troubleshooting.rst4
2 files changed, 11 insertions, 11 deletions
diff --git a/user_guide_src/source/installation/index.rst b/user_guide_src/source/installation/index.rst
index 50493bbbd..fbf6ecee1 100644
--- a/user_guide_src/source/installation/index.rst
+++ b/user_guide_src/source/installation/index.rst
@@ -6,37 +6,37 @@ CodeIgniter is installed in four steps:
#. Unzip the package.
#. Upload the CodeIgniter folders and files to your server. Normally the
- index.php file will be at your root.
-#. Open the application/config/config.php file with a text editor and
+ *index.php* file will be at your root.
+#. Open the *application/config/config.php* file with a text editor and
set your base URL. If you intend to use encryption or sessions, set
your encryption key.
#. If you intend to use a database, open the
- application/config/database.php file with a text editor and set your
+ *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 and application folders to
something more private. If you do rename them, you must open your main
-index.php file and set the $system_path and $application_folder
+*index.php* file and set the ``$system_path`` 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
+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.
+abide by the *.htaccess*.
If you would like to keep your views public it is also possible to move
the views folder out of your application folder.
After moving them, open your main index.php file and set the
-$system_path, $application_folder and $view_folder variables,
-preferably with a full path, e.g. '/www/MyUser/system'.
+``$system_path``, ``$application_folder`` and ``$view_folder`` variables,
+preferably with a full path, e.g. '*/www/MyUser/system*'.
One additional measure to take in production environments is to disable
PHP error reporting and any other development-only functionality. In
-CodeIgniter, this can be done by setting the ENVIRONMENT constant, which
+CodeIgniter, this can be done by setting the ``ENVIRONMENT`` constant, which
is more fully described on the :doc:`security
page <../general/security>`.
diff --git a/user_guide_src/source/installation/troubleshooting.rst b/user_guide_src/source/installation/troubleshooting.rst
index e874bb0ec..cca290763 100644
--- a/user_guide_src/source/installation/troubleshooting.rst
+++ b/user_guide_src/source/installation/troubleshooting.rst
@@ -5,11 +5,11 @@ Troubleshooting
If you find that no matter what you put in your URL only your default
page is loading, it might be that your server does not support the
REQUEST_URI variable needed to serve search-engine friendly URLs. As a
-first step, open your application/config/config.php file and look for
+first step, open your *application/config/config.php* file and look for
the URI Protocol information. It will recommend that you try a couple
alternate settings. If it still doesn't work after you've tried this
you'll need to force CodeIgniter to add a question mark to your URLs. To
-do this open your **application/config/config.php** file and change this::
+do this open your *application/config/config.php* file and change this::
$config['index_page'] = "index.php";