Navigation Menu

Skip to content

Commit

Permalink
hand merged remaining unresolved files following the backout of 648b4…
Browse files Browse the repository at this point in the history
…2a75739, which was a NON-trivial whitespace commit
  • Loading branch information
Derek Jones committed Jul 1, 2011
2 parents 806b824 + 4b9c629 commit 8f371a4
Show file tree
Hide file tree
Showing 229 changed files with 2,045 additions and 2,046 deletions.
22 changes: 11 additions & 11 deletions application/config/autoload.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| AUTO-LOADER | AUTO-LOADER
Expand All @@ -8,7 +8,7 @@
| In order to keep the framework as light-weight as possible only the | In order to keep the framework as light-weight as possible only the
| absolute minimal resources are loaded by default. For example, | absolute minimal resources are loaded by default. For example,
| the database is not connected to automatically since no assumption | the database is not connected to automatically since no assumption
| is made regarding whether you intend to use it. This file lets | is made regarding whether you intend to use it. This file lets
| you globally define which systems you would like loaded with every | you globally define which systems you would like loaded with every
| request. | request.
| |
Expand All @@ -29,11 +29,11 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Packges | Auto-load Packges
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Prototype: | Prototype:
| |
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared'); | $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared');
| |
*/ */


Expand All @@ -42,7 +42,7 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Libraries | Auto-load Libraries
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| These are the classes located in the system/libraries folder | These are the classes located in the system/libraries folder
| or in your application/libraries folder. | or in your application/libraries folder.
Expand All @@ -57,7 +57,7 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Helper Files | Auto-load Helper Files
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Prototype: | Prototype:
| |
Expand All @@ -69,14 +69,14 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Config files | Auto-load Config files
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Prototype: | Prototype:
| |
| $autoload['config'] = array('config1', 'config2'); | $autoload['config'] = array('config1', 'config2');
| |
| NOTE: This item is intended for use ONLY if you have created custom | NOTE: This item is intended for use ONLY if you have created custom
| config files. Otherwise, leave it blank. | config files. Otherwise, leave it blank.
| |
*/ */


Expand All @@ -85,13 +85,13 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Language files | Auto-load Language files
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Prototype: | Prototype:
| |
| $autoload['language'] = array('lang1', 'lang2'); | $autoload['language'] = array('lang1', 'lang2');
| |
| NOTE: Do not include the "_lang" part of your file. For example | NOTE: Do not include the "_lang" part of your file. For example
| "codeigniter_lang.php" would be referenced as array('codeigniter'); | "codeigniter_lang.php" would be referenced as array('codeigniter');
| |
*/ */
Expand All @@ -101,7 +101,7 @@


/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Auto-load Models | Auto-load Models
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Prototype: | Prototype:
| |
Expand Down
40 changes: 20 additions & 20 deletions application/config/config.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
Expand Down Expand Up @@ -34,7 +34,7 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This item determines which server global should be used to retrieve the | This item determines which server global should be used to retrieve the
| URI string. The default setting of 'AUTO' works for most servers. | URI string. The default setting of 'AUTO' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors: | If your links do not seem to work, try one of the other delicious flavors:
| |
| 'AUTO' Default - auto detects | 'AUTO' Default - auto detects
Expand Down Expand Up @@ -88,7 +88,7 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| If you would like to use the 'hooks' feature you must enable it by | If you would like to use the 'hooks' feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details. | setting this variable to TRUE (boolean). See the user guide for details.
| |
*/ */
$config['enable_hooks'] = FALSE; $config['enable_hooks'] = FALSE;
Expand All @@ -100,7 +100,7 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This item allows you to set the filename/classname prefix when extending | This item allows you to set the filename/classname prefix when extending
| native libraries. For more information please see the user guide: | native libraries. For more information please see the user guide:
| |
| http://codeigniter.com/user_guide/general/core_classes.html | http://codeigniter.com/user_guide/general/core_classes.html
| http://codeigniter.com/user_guide/general/creating_libraries.html | http://codeigniter.com/user_guide/general/creating_libraries.html
Expand All @@ -115,11 +115,11 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This lets you specify with a regular expression which characters are permitted | This lets you specify with a regular expression which characters are permitted
| within your URLs. When someone tries to submit a URL with disallowed | within your URLs. When someone tries to submit a URL with disallowed
| characters they will get a warning message. | characters they will get a warning message.
| |
| As a security measure you are STRONGLY encouraged to restrict URLs to | As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_- | as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
| |
| Leave blank to allow all characters -- but only if you are insane. | Leave blank to allow all characters -- but only if you are insane.
| |
Expand All @@ -137,7 +137,7 @@
| By default CodeIgniter uses search-engine friendly segment based URLs: | By default CodeIgniter uses search-engine friendly segment based URLs:
| example.com/who/what/where/ | example.com/who/what/where/
| |
| By default CodeIgniter enables access to the $_GET array. If for some | By default CodeIgniter enables access to the $_GET array. If for some
| reason you would like to disable it, set 'allow_get_array' to FALSE. | reason you would like to disable it, set 'allow_get_array' to FALSE.
| |
| You can optionally enable standard query string based URLs: | You can optionally enable standard query string based URLs:
Expand Down Expand Up @@ -210,7 +210,7 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Leave this BLANK unless you would like to set something other than the default | Leave this BLANK unless you would like to set something other than the default
| system/cache/ folder. Use a full server path with trailing slash. | system/cache/ folder. Use a full server path with trailing slash.
| |
*/ */
$config['cache_path'] = ''; $config['cache_path'] = '';
Expand All @@ -221,7 +221,7 @@
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| If you use the Encryption class or the Session class you | If you use the Encryption class or the Session class you
| MUST set an encryption key. See the user guide for info. | MUST set an encryption key. See the user guide for info.
| |
*/ */
$config['encryption_key'] = ''; $config['encryption_key'] = '';
Expand All @@ -233,9 +233,9 @@
| |
| 'sess_cookie_name' = the name you want for the cookie | 'sess_cookie_name' = the name you want for the cookie
| 'sess_expiration' = the number of SECONDS you want the session to last. | 'sess_expiration' = the number of SECONDS you want the session to last.
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration. | by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
| 'sess_expire_on_close' = Whether to cause the session to expire automatically | 'sess_expire_on_close' = Whether to cause the session to expire automatically
| when the browser window is closed | when the browser window is closed
| 'sess_encrypt_cookie' = Whether to encrypt the cookie | 'sess_encrypt_cookie' = Whether to encrypt the cookie
| 'sess_use_database' = Whether to save the session data to a database | 'sess_use_database' = Whether to save the session data to a database
| 'sess_table_name' = The name of the session database table | 'sess_table_name' = The name of the session database table
Expand All @@ -261,8 +261,8 @@
| |
| 'cookie_prefix' = Set a prefix if you need to avoid collisions | 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash | 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists. | 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
| |
*/ */
$config['cookie_prefix'] = ""; $config['cookie_prefix'] = "";
Expand Down Expand Up @@ -303,16 +303,16 @@
| Output Compression | Output Compression
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Enables Gzip output compression for faster page loads. When enabled, | Enables Gzip output compression for faster page loads. When enabled,
| the output class will test whether your server supports Gzip. | the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression | Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it. | so enable only if you are reasonably sure your visitors can handle it.
| |
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it | VERY IMPORTANT: If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could | means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts. For | even be a line of whitespace at the end of one of your scripts. For
| compression to work, nothing can be sent before the output buffer is called | compression to work, nothing can be sent before the output buffer is called
| by the output class. Do not 'echo' any values with compression enabled. | by the output class. Do not 'echo' any values with compression enabled.
| |
*/ */
$config['compress_output'] = FALSE; $config['compress_output'] = FALSE;
Expand All @@ -322,9 +322,9 @@
| Master Time Reference | Master Time Reference
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Options are 'local' or 'gmt'. This pref tells the system whether to use | Options are 'local' or 'gmt'. This pref tells the system whether to use
| your server's local time as the master 'now' reference, or convert it to | your server's local time as the master 'now' reference, or convert it to
| GMT. See the 'date helper' page of the user guide for information | GMT. See the 'date helper' page of the user guide for information
| regarding date handling. | regarding date handling.
| |
*/ */
Expand All @@ -338,7 +338,7 @@
| |
| If your PHP installation does not have short tag support enabled CI | If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax | can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean) | in your view files. Options are TRUE or FALSE (boolean)
| |
*/ */
$config['rewrite_short_tags'] = FALSE; $config['rewrite_short_tags'] = FALSE;
Expand Down
6 changes: 3 additions & 3 deletions application/config/constants.php
@@ -1,15 +1,15 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| File and Directory Modes | File and Directory Modes
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| These prefs are used when checking and setting modes when working | These prefs are used when checking and setting modes when working
| with the file system. The defaults are fine on servers with proper | with the file system. The defaults are fine on servers with proper
| security, but you may wish (or even need) to change the values in | security, but you may wish (or even need) to change the values in
| certain environments (Apache running a separate process for each | certain environments (Apache running a separate process for each
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should | user, PHP under CGI with Apache suEXEC, etc.). Octal values should
| always be used to set the mode correctly. | always be used to set the mode correctly.
| |
*/ */
Expand Down
10 changes: 5 additions & 5 deletions application/config/database.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS | DATABASE CONNECTIVITY SETTINGS
Expand All @@ -16,10 +16,10 @@
| ['username'] The username used to connect to the database | ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database | ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to | ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported: | ['dbdriver'] The database type. ie: mysql. Currently supported:
| mysql, mysqli, postgre, odbc, mssql, sqlite, oci8 mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
| ['dbprefix'] You can add an optional prefix, which will be added | ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class | to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection | ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed. | ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching | ['cache_on'] TRUE/FALSE - Enables/disables query caching
Expand All @@ -38,7 +38,7 @@
| - good for ensuring strict SQL while developing | - good for ensuring strict SQL while developing
| |
| The $active_group variable lets you choose which connection group to | The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the 'default' group). | make active. By default there is only one group (the 'default' group).
| |
| The $active_record variables lets you determine whether or not to load | The $active_record variables lets you determine whether or not to load
| the active record class | the active record class
Expand Down
2 changes: 1 addition & 1 deletion application/config/foreign_chars.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| Foreign Characters | Foreign Characters
Expand Down
4 changes: 2 additions & 2 deletions application/config/hooks.php
@@ -1,10 +1,10 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| Hooks | Hooks
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core | This file lets you define "hooks" to extend CI without hacking the core
| files. Please see the user guide for info: | files. Please see the user guide for info:
| |
| http://codeigniter.com/user_guide/general/hooks.html | http://codeigniter.com/user_guide/general/hooks.html
| |
Expand Down
8 changes: 4 additions & 4 deletions application/config/mimes.php
@@ -1,9 +1,9 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| MIME TYPES | MIME TYPES
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| This file contains an array of mime types. It is used by the | This file contains an array of mime types. It is used by the
| Upload class to help identify allowed file types. | Upload class to help identify allowed file types.
| |
*/ */
Expand Down Expand Up @@ -51,7 +51,7 @@
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
'xhtml' => 'application/xhtml+xml', 'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml', 'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'), 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'),
'mid' => 'audio/midi', 'mid' => 'audio/midi',
'midi' => 'audio/midi', 'midi' => 'audio/midi',
'mpga' => 'audio/mpeg', 'mpga' => 'audio/mpeg',
Expand All @@ -71,7 +71,7 @@
'jpeg' => array('image/jpeg', 'image/pjpeg'), 'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'), 'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'), 'jpe' => array('image/jpeg', 'image/pjpeg'),
'png' => array('image/png', 'image/x-png'), 'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff', 'tiff' => 'image/tiff',
'tif' => 'image/tiff', 'tif' => 'image/tiff',
'css' => 'text/css', 'css' => 'text/css',
Expand Down
2 changes: 1 addition & 1 deletion application/config/profiler.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| Profiler Sections | Profiler Sections
Expand Down
2 changes: 1 addition & 1 deletion application/config/routes.php
@@ -1,4 +1,4 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------
| URI ROUTING | URI ROUTING
Expand Down
4 changes: 2 additions & 2 deletions application/config/smileys.php
@@ -1,10 +1,10 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| SMILEYS | SMILEYS
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| This file contains an array of smileys for use with the emoticon helper. | This file contains an array of smileys for use with the emoticon helper.
| Individual images can be used to replace multiple simileys. For example: | Individual images can be used to replace multiple simileys. For example:
| :-) and :) use the same image replacement. | :-) and :) use the same image replacement.
| |
| Please see user guide for more info: | Please see user guide for more info:
Expand Down
6 changes: 3 additions & 3 deletions application/config/user_agents.php
@@ -1,11 +1,11 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* /*
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| USER AGENT TYPES | USER AGENT TYPES
| ------------------------------------------------------------------- | -------------------------------------------------------------------
| This file contains four arrays of user agent data. It is used by the | This file contains four arrays of user agent data. It is used by the
| User Agent Class to help identify browser, platform, robot, and | User Agent Class to help identify browser, platform, robot, and
| mobile device data. The array keys are used to identify the device | mobile device data. The array keys are used to identify the device
| and the array values are used to set the actual name of the item. | and the array values are used to set the actual name of the item.
| |
*/ */
Expand Down
4 changes: 2 additions & 2 deletions application/controllers/welcome.php
Expand Up @@ -7,10 +7,10 @@ class Welcome extends CI_Controller {
* *
* Maps to the following URL * Maps to the following URL
* http://example.com/index.php/welcome * http://example.com/index.php/welcome
* - or - * - or -
* http://example.com/index.php/welcome/index * http://example.com/index.php/welcome/index
* - or - * - or -
* Since this controller is set as the default controller in * Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/ * config/routes.php, it's displayed at http://example.com/
* *
* So any other public methods not prefixed with an underscore will * So any other public methods not prefixed with an underscore will
Expand Down
2 changes: 1 addition & 1 deletion application/errors/error_php.php
Expand Up @@ -3,7 +3,7 @@
<h4>A PHP Error was encountered</h4> <h4>A PHP Error was encountered</h4>


<p>Severity: <?php echo $severity; ?></p> <p>Severity: <?php echo $severity; ?></p>
<p>Message: <?php echo $message; ?></p> <p>Message: <?php echo $message; ?></p>
<p>Filename: <?php echo $filepath; ?></p> <p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo $line; ?></p> <p>Line Number: <?php echo $line; ?></p>


Expand Down

0 comments on commit 8f371a4

Please sign in to comment.