From bb458e3b9189af409d342623a9873397a1ac92c2 Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Thu, 17 Mar 2011 21:33:05 -0400 Subject: Wrong title for environments page. Fixes: #135 --- user_guide/general/environments.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/general/environments.html') diff --git a/user_guide/general/environments.html b/user_guide/general/environments.html index 690c14c2c..76fe214bc 100644 --- a/user_guide/general/environments.html +++ b/user_guide/general/environments.html @@ -3,7 +3,7 @@ -Creating Libraries : CodeIgniter User Guide +Handling Multiple Environments : CodeIgniter User Guide @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.0

CodeIgniter User Guide Version 2.0.1

@@ -42,7 +42,7 @@ CodeIgniter Home  ›  User Guide Home  ›  -Creating Libraries +Handling Multiple Environments
Search User Guide   
@@ -113,11 +113,11 @@ define('ENVIRONMENT', 'development'); -- cgit v1.2.3-24-g4f1b From 1f622294b92c095fd91e8ca44912d405c1605ded Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Thu, 7 Apr 2011 12:06:51 -0400 Subject: Wow, I screwed that up, Reactor is going to 2.0.2 not 2.0.1 --- user_guide/general/environments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/general/environments.html') diff --git a/user_guide/general/environments.html b/user_guide/general/environments.html index 76fe214bc..175a1531e 100644 --- a/user_guide/general/environments.html +++ b/user_guide/general/environments.html @@ -28,7 +28,7 @@
- +

CodeIgniter User Guide Version 2.0.1

CodeIgniter User Guide Version 2.0.2

-- cgit v1.2.3-24-g4f1b From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/general/environments.html | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'user_guide/general/environments.html') diff --git a/user_guide/general/environments.html b/user_guide/general/environments.html index 175a1531e..9aed1d6ff 100644 --- a/user_guide/general/environments.html +++ b/user_guide/general/environments.html @@ -58,17 +58,17 @@ Handling Multiple Environments

Handling Multiple Environments

- Developers often desire different system behavior depending on whether - an application is running in a development or production - environment. For example, verbose error output is something that would - be useful while developing an application, but it may also pose a security issue when "live". + Developers often desire different system behavior depending on whether + an application is running in a development or production + environment. For example, verbose error output is something that would + be useful while developing an application, but it may also pose a security issue when "live".

The ENVIRONMENT Constant

- By default, CodeIgniter comes with the environment constant set to - 'development'. At the top of index.php, you will see: + By default, CodeIgniter comes with the environment constant set to + 'development'. At the top of index.php, you will see:

@@ -76,35 +76,35 @@ define('ENVIRONMENT', 'development');

- In addition to affecting some basic framework behavior (see the next section), - you may use this constant in your own development to differentiate - between which environment you are running in. + In addition to affecting some basic framework behavior (see the next section), + you may use this constant in your own development to differentiate + between which environment you are running in.

Effects On Default Framework Behavior

- There are some places in the CodeIgniter system where the ENVIRONMENT - constant is used. This section describes how default framework behavior is - affected. + There are some places in the CodeIgniter system where the ENVIRONMENT + constant is used. This section describes how default framework behavior is + affected.

Error Reporting

- Setting the ENVIRONMENT constant to a value of 'development' will - cause all PHP errors to be rendered to the browser when they occur. Conversely, - setting the constant to 'production' will disable all error output. Disabling - error reporting in production is a good security practice. + Setting the ENVIRONMENT constant to a value of 'development' will + cause all PHP errors to be rendered to the browser when they occur. Conversely, + setting the constant to 'production' will disable all error output. Disabling + error reporting in production is a good security practice.

Configuration Files

- Optionally, you can have CodeIgniter load environment-specific - configuration files. This may be useful for managing things like differing API keys - across multiple environments. This is described in more detail in the - environment section of the Config Class documentation. + Optionally, you can have CodeIgniter load environment-specific + configuration files. This may be useful for managing things like differing API keys + across multiple environments. This is described in more detail in the + environment section of the Config Class documentation.

-- cgit v1.2.3-24-g4f1b