diff options
author | Barry Mieny <barry@mieny.com> | 2010-10-04 16:33:58 +0200 |
---|---|---|
committer | Barry Mieny <barry@mieny.com> | 2010-10-04 16:33:58 +0200 |
commit | dd6719738936be31cdaa1758ca86d5eb14dcab3d (patch) | |
tree | b5ef66e31b2d0f4f2c1cbccc367bde92c156e1f9 /application | |
parent | 3351fbc56cea19ec3dd603836beb0a420b1ded65 (diff) |
Cleanup of stray spaces and tabs
Diffstat (limited to 'application')
-rw-r--r-- | application/config/autoload.php | 2 | ||||
-rw-r--r-- | application/config/config.php | 12 | ||||
-rw-r--r-- | application/config/constants.php | 12 | ||||
-rw-r--r-- | application/config/foreign_chars.php | 74 | ||||
-rw-r--r-- | application/config/routes.php | 2 | ||||
-rw-r--r-- | application/config/smileys.php | 2 | ||||
-rw-r--r-- | application/config/user_agents.php | 6 | ||||
-rw-r--r-- | application/controllers/welcome.php | 4 | ||||
-rw-r--r-- | application/errors/error_404.php | 2 | ||||
-rw-r--r-- | application/errors/error_db.php | 2 | ||||
-rw-r--r-- | application/errors/error_general.php | 2 |
11 files changed, 60 insertions, 60 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php index 35ad6288f..5e9740844 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.php @@ -77,7 +77,7 @@ $autoload['config'] = array(); | | $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'); | */ diff --git a/application/config/config.php b/application/config/config.php index 3f2be480f..e318a2ab7 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -149,16 +149,16 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; | */ $config['enable_query_strings'] = FALSE; -$config['controller_trigger'] = 'c'; -$config['function_trigger'] = 'm'; -$config['directory_trigger'] = 'd'; // experimental not currently in use +$config['controller_trigger'] = 'c'; +$config['function_trigger'] = 'm'; +$config['directory_trigger'] = 'd'; // experimental not currently in use /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | -| If you have enabled error logging, you can set an error threshold to +| If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | threshold determines what gets logged. Threshold options are: @@ -225,7 +225,7 @@ $config['encryption_key'] = ""; |-------------------------------------------------------------------------- | | '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. | 'sess_expire_on_close' = Whether to cause the session to expire automatically | when the browser window is closed @@ -245,7 +245,7 @@ $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; -$config['sess_time_to_update'] = 300; +$config['sess_time_to_update'] = 300; /* |-------------------------------------------------------------------------- diff --git a/application/config/constants.php b/application/config/constants.php index 1551cbcab..4a879d360 100644 --- a/application/config/constants.php +++ b/application/config/constants.php @@ -27,13 +27,13 @@ define('DIR_WRITE_MODE', 0777); | */ -define('FOPEN_READ', 'rb'); +define('FOPEN_READ', 'rb'); define('FOPEN_READ_WRITE', 'r+b'); -define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care -define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care -define('FOPEN_WRITE_CREATE', 'ab'); -define('FOPEN_READ_WRITE_CREATE', 'a+b'); -define('FOPEN_WRITE_CREATE_STRICT', 'xb'); +define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care +define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care +define('FOPEN_WRITE_CREATE', 'ab'); +define('FOPEN_READ_WRITE_CREATE', 'a+b'); +define('FOPEN_WRITE_CREATE_STRICT', 'xb'); define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b'); diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php index 59a7d234a..e106ad800 100644 --- a/application/config/foreign_chars.php +++ b/application/config/foreign_chars.php @@ -8,56 +8,56 @@ | */ $foreign_characters = array('223' => "ss", // ß - '224' => "a", - '225' => "a", - '226' => "a", + '224' => "a", + '225' => "a", + '226' => "a", '229' => "a", - '227' => "ae", - '230' => "ae", + '227' => "ae", + '230' => "ae", '228' => "ae", '231' => "c", '232' => "e", // è '233' => "e", // é - '234' => "e", // ê + '234' => "e", // ê '235' => "e", // ë - '236' => "i", - '237' => "i", - '238' => "i", - '239' => "i", + '236' => "i", + '237' => "i", + '238' => "i", + '239' => "i", '241' => "n", - '242' => "o", - '243' => "o", - '244' => "o", + '242' => "o", + '243' => "o", + '244' => "o", '245' => "o", '246' => "oe", // ö - '249' => "u", - '250' => "u", - '251' => "u", + '249' => "u", + '250' => "u", + '251' => "u", '252' => "ue", // ü '255' => "y", - '257' => "aa", - '269' => "ch", - '275' => "ee", - '291' => "gj", - '299' => "ii", - '311' => "kj", - '316' => "lj", - '326' => "nj", - '353' => "sh", - '363' => "uu", + '257' => "aa", + '269' => "ch", + '275' => "ee", + '291' => "gj", + '299' => "ii", + '311' => "kj", + '316' => "lj", + '326' => "nj", + '353' => "sh", + '363' => "uu", '382' => "zh", - '256' => "aa", - '268' => "ch", - '274' => "ee", - '290' => "gj", - '298' => "ii", - '310' => "kj", - '315' => "lj", - '325' => "nj", - '352' => "sh", - '362' => "uu", + '256' => "aa", + '268' => "ch", + '274' => "ee", + '290' => "gj", + '298' => "ii", + '310' => "kj", + '315' => "lj", + '325' => "nj", + '352' => "sh", + '362' => "uu", '381' => "zh", - ); + ); /* End of file foreign_chars.php */ diff --git a/application/config/routes.php b/application/config/routes.php index 57af9850b..614462fd9 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -9,7 +9,7 @@ | and its corresponding controller class/method. The segments in a | URL normally follow this pattern: | -| example.com/class/method/id/ +| example.com/class/method/id/ | | In some instances, however, you may want to remap this relationship | so that a different class/function is called than the one diff --git a/application/config/smileys.php b/application/config/smileys.php index 31a60c656..25d28b2c4 100644 --- a/application/config/smileys.php +++ b/application/config/smileys.php @@ -7,7 +7,7 @@ | Individual images can be used to replace multiple simileys. For example: | :-) and :) use the same image replacement. | -| Please see user guide for more info: +| Please see user guide for more info: | http://codeigniter.com/user_guide/helpers/smiley_helper.html | */ diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 3be200942..985deed24 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -113,7 +113,7 @@ $mobiles = array( 'benq' => "BenQ", 'ipaq' => "HP iPaq", 'mot-' => "Motorola", - 'playstation portable' => "PlayStation Portable", + 'playstation portable' => "PlayStation Portable", 'hiptop' => "Danger Hiptop", 'nec-' => "NEC", 'panasonic' => "Panasonic", @@ -126,7 +126,7 @@ $mobiles = array( // Operating Systems 'symbian' => "Symbian", - 'SymbianOS' => "SymbianOS", + 'SymbianOS' => "SymbianOS", 'elaine' => "Palm", 'palm' => "Palm", 'series60' => "Symbian S60", @@ -151,7 +151,7 @@ $mobiles = array( // Fallback 'mobile' => "Generic Mobile", - 'wireless' => "Generic Mobile", + 'wireless' => "Generic Mobile", 'j2me' => "Generic Mobile", 'midp' => "Generic Mobile", 'cldc' => "Generic Mobile", diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index bd134e7e6..2e4cff8ed 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -4,9 +4,9 @@ class Welcome extends Controller { function Welcome() { - parent::Controller(); + parent::Controller(); } - + function index() { $this->load->view('welcome_message'); diff --git a/application/errors/error_404.php b/application/errors/error_404.php index 1c513a205..a304f4561 100644 --- a/application/errors/error_404.php +++ b/application/errors/error_404.php @@ -21,7 +21,7 @@ h1 { font-weight: normal; font-size: 14px; color: #990000; -margin: 0 0 4px 0; +margin: 0 0 4px 0; } </style> </head> diff --git a/application/errors/error_db.php b/application/errors/error_db.php index 1ce52dfc9..181de960b 100644 --- a/application/errors/error_db.php +++ b/application/errors/error_db.php @@ -21,7 +21,7 @@ h1 { font-weight: normal; font-size: 14px; color: #990000; -margin: 0 0 4px 0; +margin: 0 0 4px 0; } </style> </head> diff --git a/application/errors/error_general.php b/application/errors/error_general.php index d8610702b..7734d34c7 100644 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -21,7 +21,7 @@ h1 { font-weight: normal; font-size: 14px; color: #990000; -margin: 0 0 4px 0; +margin: 0 0 4px 0; } </style> </head> |