Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ci skip] Cleaned some spaces

  • Loading branch information...
commit 838a9d69a9139b6bcd6f8765fdd2d58b929e70ad 1 parent 6a38949
@narfbg narfbg authored
Showing with 85 additions and 93 deletions.
  1. +2 −2 system/.htaccess
  2. +1 −2  system/core/Log.php
  3. +1 −2  system/core/Security.php
  4. +1 −1  system/database/DB_query_builder.php
  5. +5 −5 system/database/drivers/mysql/mysql_driver.php
  6. +1 −1  system/database/drivers/mysqli/mysqli_driver.php
  7. +1 −1  system/database/drivers/odbc/odbc_driver.php
  8. +1 −1  system/database/drivers/pdo/pdo_driver.php
  9. +1 −1  system/database/drivers/pdo/subdrivers/pdo_cubrid_driver.php
  10. +1 −1  system/database/drivers/pdo/subdrivers/pdo_ibm_driver.php
  11. +1 −1  system/database/drivers/pdo/subdrivers/pdo_informix_driver.php
  12. +1 −1  system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
  13. +2 −2 system/database/drivers/pdo/subdrivers/pdo_odbc_driver.php
  14. +2 −2 system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php
  15. +1 −1  system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php
  16. +1 −1  system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
  17. +1 −1  system/database/drivers/postgre/postgre_driver.php
  18. +0 −1  system/helpers/form_helper.php
  19. +26 −26 system/helpers/inflector_helper.php
  20. +0 −1  system/helpers/smiley_helper.php
  21. +1 −1  system/helpers/text_helper.php
  22. +1 −1  system/helpers/url_helper.php
  23. +1 −1  system/language/english/form_validation_lang.php
  24. +5 −5 system/language/english/migration_lang.php
  25. +1 −1  system/libraries/Cache/drivers/Cache_file.php
  26. +4 −4 system/libraries/Cache/drivers/Cache_wincache.php
  27. +5 −5 system/libraries/Calendar.php
  28. +1 −1  system/libraries/Form_validation.php
  29. +1 −2  system/libraries/Ftp.php
  30. +0 −1  system/libraries/Image_lib.php
  31. +0 −1  system/libraries/Javascript.php
  32. +2 −2 system/libraries/Migration.php
  33. +1 −1  system/libraries/Table.php
  34. +0 −1  system/libraries/Upload.php
  35. +0 −1  tests/codeigniter/helpers/date_helper_test.php
  36. +0 −2  tests/codeigniter/helpers/file_helper_test.php
  37. +1 −0  tests/codeigniter/helpers/html_helper_test.php
  38. +1 −0  tests/codeigniter/helpers/path_helper_test.php
  39. +2 −1  tests/codeigniter/libraries/Driver_test.php
  40. +0 −1  tests/codeigniter/libraries/Encrypt_test.php
  41. +3 −1 tests/codeigniter/libraries/Session_test.php
  42. +1 −1  tests/mocks/ci_testconfig.php
  43. +0 −1  tests/mocks/core/common.php
  44. +1 −1  tests/mocks/libraries/driver.php
  45. +1 −1  tests/mocks/libraries/session.php
  46. +2 −2 user_guide_src/source/general/common_functions.rst
View
4 system/.htaccess
@@ -1,6 +1,6 @@
<IfModule authz_core_module>
- Require all denied
+ Require all denied
</IfModule>
<IfModule !authz_core_module>
- Deny from all
+ Deny from all
</IfModule>
View
3  system/core/Log.php
@@ -84,7 +84,7 @@ class CI_Log {
*
* @var array
*/
- protected $_levels = array('ERROR' => 1, 'DEBUG' => 2, 'INFO' => 3, 'ALL' => 4);
+ protected $_levels = array('ERROR' => 1, 'DEBUG' => 2, 'INFO' => 3, 'ALL' => 4);
/**
* Initialize Logging class
@@ -145,7 +145,6 @@ public function write_log($level = 'error', $msg, $php_error = FALSE)
return FALSE;
}
-
$filepath = $this->_log_path.'log-'.date('Y-m-d').'.php';
$message = '';
View
3  system/core/Security.php
@@ -368,7 +368,7 @@ public function xss_clean($str, $is_image = FALSE)
}
else
{
- $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
+ $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
}
/*
@@ -382,7 +382,6 @@ public function xss_clean($str, $is_image = FALSE)
'applet', 'alert', 'document', 'write', 'cookie', 'window'
);
-
foreach ($words as $word)
{
$word = implode('\s*', str_split($word)).'\s*';
View
2  system/database/DB_query_builder.php
@@ -1508,7 +1508,7 @@ public function set_insert_batch($key, $value = '', $escape = NULL)
$row = $clean;
}
- $this->qb_set[] = '('.implode(',', $row).')';
+ $this->qb_set[] = '('.implode(',', $row).')';
}
foreach ($keys as $k)
View
10 system/database/drivers/mysql/mysql_driver.php
@@ -323,12 +323,12 @@ public function escape_str($str, $like = FALSE)
if (is_array($str))
{
foreach ($str as $key => $val)
- {
+ {
$str[$key] = $this->escape_str($val, $like);
- }
+ }
- return $str;
- }
+ return $str;
+ }
$str = is_resource($this->conn_id) ? mysql_real_escape_string($str, $this->conn_id) : addslashes($str);
@@ -481,7 +481,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
}
}
}
View
2  system/database/drivers/mysqli/mysqli_driver.php
@@ -466,7 +466,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
}
}
}
View
2  system/database/drivers/odbc/odbc_driver.php
@@ -336,7 +336,7 @@ public function error()
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
View
2  system/database/drivers/pdo/pdo_driver.php
@@ -387,7 +387,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
}
}
}
View
2  system/database/drivers/pdo/subdrivers/pdo_cubrid_driver.php
@@ -185,7 +185,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
}
}
}
View
2  system/database/drivers/pdo/subdrivers/pdo_ibm_driver.php
@@ -187,7 +187,7 @@ public function field_data($table = '')
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
View
2  system/database/drivers/pdo/subdrivers/pdo_informix_driver.php
@@ -237,7 +237,7 @@ public function field_data($table = '')
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
View
2  system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
@@ -221,7 +221,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$index.' = '.$val[$index].' THEN '.$val[$field];
}
}
}
View
4 system/database/drivers/pdo/subdrivers/pdo_odbc_driver.php
@@ -167,7 +167,7 @@ protected function _list_tables($prefix_limit = FALSE)
.sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
- return $sql;
+ return $sql;
}
// --------------------------------------------------------------------
@@ -195,7 +195,7 @@ protected function _list_columns($table = '')
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
View
4 system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php
@@ -251,7 +251,7 @@ public function field_data($table = '')
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
@@ -282,7 +282,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$val[$index].' THEN '.$val[$field];
}
}
}
View
2  system/database/drivers/pdo/subdrivers/pdo_sqlite_driver.php
@@ -190,7 +190,7 @@ protected function _replace($table, $keys, $values)
*
* @param string $table
* @return string
- */
+ */
protected function _truncate($table)
{
return 'DELETE FROM '.$table;
View
2  system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
@@ -250,7 +250,7 @@ public function field_data($table = '')
* @param string $table
* @param array $values
* @return string
- */
+ */
protected function _update($table, $values)
{
$this->qb_limit = FALSE;
View
2  system/database/drivers/postgre/postgre_driver.php
@@ -579,7 +579,7 @@ protected function _update_batch($table, $values, $index)
{
if ($field !== $index)
{
- $final[$field][] = 'WHEN '.$val[$index].' THEN '.$val[$field];
+ $final[$field][] = 'WHEN '.$val[$index].' THEN '.$val[$field];
}
}
}
View
1  system/helpers/form_helper.php
@@ -814,7 +814,6 @@ function set_radio($field = '', $value = '', $default = FALSE)
// ------------------------------------------------------------------------
-
if ( ! function_exists('form_error'))
{
/**
View
52 system/helpers/inflector_helper.php
@@ -58,33 +58,33 @@ function singular($str)
}
$singular_rules = array(
- '/(matr)ices$/' => '\1ix',
- '/(vert|ind)ices$/' => '\1ex',
- '/^(ox)en/' => '\1',
- '/(alias)es$/' => '\1',
- '/([octop|vir])i$/' => '\1us',
- '/(cris|ax|test)es$/' => '\1is',
- '/(shoe)s$/' => '\1',
- '/(o)es$/' => '\1',
- '/(bus|campus)es$/' => '\1',
- '/([m|l])ice$/' => '\1ouse',
- '/(x|ch|ss|sh)es$/' => '\1',
- '/(m)ovies$/' => '\1\2ovie',
- '/(s)eries$/' => '\1\2eries',
- '/([^aeiouy]|qu)ies$/' => '\1y',
- '/([lr])ves$/' => '\1f',
- '/(tive)s$/' => '\1',
- '/(hive)s$/' => '\1',
- '/([^f])ves$/' => '\1fe',
- '/(^analy)ses$/' => '\1sis',
+ '/(matr)ices$/' => '\1ix',
+ '/(vert|ind)ices$/' => '\1ex',
+ '/^(ox)en/' => '\1',
+ '/(alias)es$/' => '\1',
+ '/([octop|vir])i$/' => '\1us',
+ '/(cris|ax|test)es$/' => '\1is',
+ '/(shoe)s$/' => '\1',
+ '/(o)es$/' => '\1',
+ '/(bus|campus)es$/' => '\1',
+ '/([m|l])ice$/' => '\1ouse',
+ '/(x|ch|ss|sh)es$/' => '\1',
+ '/(m)ovies$/' => '\1\2ovie',
+ '/(s)eries$/' => '\1\2eries',
+ '/([^aeiouy]|qu)ies$/' => '\1y',
+ '/([lr])ves$/' => '\1f',
+ '/(tive)s$/' => '\1',
+ '/(hive)s$/' => '\1',
+ '/([^f])ves$/' => '\1fe',
+ '/(^analy)ses$/' => '\1sis',
'/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/' => '\1\2sis',
- '/([ti])a$/' => '\1um',
- '/(p)eople$/' => '\1\2erson',
- '/(m)en$/' => '\1an',
- '/(s)tatuses$/' => '\1\2tatus',
- '/(c)hildren$/' => '\1\2hild',
- '/(n)ews$/' => '\1\2ews',
- '/([^us])s$/' => '\1',
+ '/([ti])a$/' => '\1um',
+ '/(p)eople$/' => '\1\2erson',
+ '/(m)en$/' => '\1an',
+ '/(s)tatuses$/' => '\1\2tatus',
+ '/(c)hildren$/' => '\1\2hild',
+ '/(n)ews$/' => '\1\2ews',
+ '/([^us])s$/' => '\1'
);
foreach ($singular_rules as $rule => $replacement)
View
1  system/helpers/smiley_helper.php
@@ -120,7 +120,6 @@ function insert_smiley(smiley, field_id) {
// ------------------------------------------------------------------------
-
if ( ! function_exists('get_clickable_smileys'))
{
/**
View
2  system/helpers/text_helper.php
@@ -139,7 +139,7 @@ function ascii_to_entities($str)
*/
if (count($temp) === 1)
{
- $out .= '&#'.array_shift($temp).';';
+ $out .= '&#'.array_shift($temp).';';
$count = 1;
}
View
2  system/helpers/url_helper.php
@@ -293,7 +293,7 @@ function safe_mailto($email, $title = '', $attributes = '')
{
foreach ($attributes as $key => $val)
{
- $x[] = ' '.$key.'="';
+ $x[] = ' '.$key.'="';
for ($i = 0, $l = strlen($val); $i < $l; $i++)
{
$x[] = '|'.ord($val[$i]);
View
2  system/language/english/form_validation_lang.php
@@ -43,7 +43,7 @@
$lang['integer'] = 'The %s field must contain an integer.';
$lang['regex_match'] = 'The %s field is not in the correct format.';
$lang['matches'] = 'The %s field does not match the %s field.';
-$lang['differs'] = 'The %s field must differ from the %s field.';
+$lang['differs'] = 'The %s field must differ from the %s field.';
$lang['is_unique'] = 'The %s field must contain a unique value.';
$lang['is_natural'] = 'The %s field must only contain digits.';
$lang['is_natural_no_zero'] = 'The %s field must only contain digits and must be greater than zero.';
View
10 system/language/english/migration_lang.php
@@ -26,14 +26,14 @@
*/
defined('BASEPATH') OR exit('No direct script access allowed');
-$lang['migration_none_found'] = 'No migrations were found.';
-$lang['migration_not_found'] = 'No migration could be found with the version number: %d.';
-$lang['migration_sequence_gap'] = 'There is a gap in the migration sequence near version number: %d.';
-$lang['migration_multiple_version'] = 'There are multiple migrations with the same version number: %d.';
+$lang['migration_none_found'] = 'No migrations were found.';
+$lang['migration_not_found'] = 'No migration could be found with the version number: %d.';
+$lang['migration_sequence_gap'] = 'There is a gap in the migration sequence near version number: %d.';
+$lang['migration_multiple_version'] = 'There are multiple migrations with the same version number: %d.';
$lang['migration_class_doesnt_exist'] = 'The migration class "%s" could not be found.';
$lang['migration_missing_up_method'] = 'The migration class "%s" is missing an "up" method.';
$lang['migration_missing_down_method'] = 'The migration class "%s" is missing a "down" method.';
-$lang['migration_invalid_filename'] = 'Migration "%s" has an invalid filename.';
+$lang['migration_invalid_filename'] = 'Migration "%s" has an invalid filename.';
/* End of file migration_lang.php */
/* Location: ./system/language/english/migration_lang.php */
View
2  system/libraries/Cache/drivers/Cache_file.php
@@ -74,7 +74,7 @@ public function get($id)
$data = unserialize(file_get_contents($this->_cache_path.$id));
- if ($data['ttl'] > 0 && time() > $data['time'] + $data['ttl'])
+ if ($data['ttl'] > 0 && time() > $data['time'] + $data['ttl'])
{
unlink($this->_cache_path.$id);
return FALSE;
View
8 system/libraries/Cache/drivers/Cache_wincache.php
@@ -127,10 +127,10 @@ public function get_metadata($id)
$hitcount = $stored['ucache_entries'][1]['hitcount'];
return array(
- 'expire' => $ttl - $age,
- 'hitcount' => $hitcount,
- 'age' => $age,
- 'ttl' => $ttl
+ 'expire' => $ttl - $age,
+ 'hitcount' => $hitcount,
+ 'age' => $age,
+ 'ttl' => $ttl
);
}
View
10 system/libraries/Calendar.php
@@ -160,7 +160,7 @@ public function generate($year = '', $month = '', $data = array())
// Set and validate the supplied month/year
if (empty($year))
{
- $year = date('Y', $this->local_time);
+ $year = date('Y', $this->local_time);
}
elseif (strlen($year) === 1)
{
@@ -219,8 +219,8 @@ public function generate($year = '', $month = '', $data = array())
// "previous" month link
if ($this->show_next_prev === TRUE)
{
- // Add a trailing slash to the URL if needed
- $this->next_prev_url = preg_replace('/(.+?)\/*$/', '\\1/', $this->next_prev_url);
+ // Add a trailing slash to the URL if needed
+ $this->next_prev_url = preg_replace('/(.+?)\/*$/', '\\1/', $this->next_prev_url);
$adjusted_date = $this->adjust_date($month - 1, $year);
$out .= str_replace('{previous_url}', $this->next_prev_url.$adjusted_date['year'].'/'.$adjusted_date['month'], $this->temp['heading_previous_cell'])."\n";
@@ -444,7 +444,7 @@ public function get_total_days($month, $year)
*/
public function default_template()
{
- return array(
+ return array(
'table_open' => '<table border="0" cellpadding="4" cellspacing="0">',
'heading_row_start' => '<tr>',
'heading_previous_cell' => '<th><a href="{previous_url}">&lt;&lt;</a></th>',
@@ -490,7 +490,7 @@ public function parse_template()
$today = array('cal_cell_start_today', 'cal_cell_content_today', 'cal_cell_no_content_today', 'cal_cell_end_today');
- foreach (array('table_open', 'table_close', 'heading_row_start', 'heading_previous_cell', 'heading_title_cell', 'heading_next_cell', 'heading_row_end', 'week_row_start', 'week_day_cell', 'week_row_end', 'cal_row_start', 'cal_cell_start', 'cal_cell_content', 'cal_cell_no_content', 'cal_cell_blank', 'cal_cell_end', 'cal_row_end', 'cal_cell_start_today', 'cal_cell_content_today', 'cal_cell_no_content_today', 'cal_cell_end_today') as $val)
+ foreach (array('table_open', 'table_close', 'heading_row_start', 'heading_previous_cell', 'heading_title_cell', 'heading_next_cell', 'heading_row_end', 'week_row_start', 'week_day_cell', 'week_row_end', 'cal_row_start', 'cal_cell_start', 'cal_cell_content', 'cal_cell_no_content', 'cal_cell_blank', 'cal_cell_end', 'cal_row_end', 'cal_cell_start_today', 'cal_cell_content_today', 'cal_cell_no_content_today', 'cal_cell_end_today') as $val)
{
if (preg_match('/\{'.$val.'\}(.*?)\{\/'.$val.'\}/si', $this->template, $match))
{
View
2  system/libraries/Form_validation.php
@@ -1443,7 +1443,7 @@ public function xss_clean($str)
*/
public function encode_php_tags($str)
{
- return str_replace(array('<?', '?>'), array('&lt;?', '?&gt;'), $str);
+ return str_replace(array('<?', '?>'), array('&lt;?', '?&gt;'), $str);
}
// --------------------------------------------------------------------
View
3  system/libraries/Ftp.php
@@ -460,7 +460,7 @@ public function delete_dir($filepath)
}
// Add a trailing slash to the file path if needed
- $filepath = preg_replace('/(.+?)\/*$/', '\\1/', $filepath);
+ $filepath = preg_replace('/(.+?)\/*$/', '\\1/', $filepath);
$list = $this->list_files($filepath);
@@ -636,7 +636,6 @@ protected function _settype($ext)
'xml'
);
-
return in_array($ext, $text_types) ? 'ascii' : 'binary';
}
View
1  system/libraries/Image_lib.php
@@ -1373,7 +1373,6 @@ public function image_create_gd($path = '', $image_type = '')
if ($image_type === '')
$image_type = $this->image_type;
-
switch ($image_type)
{
case 1 :
View
1  system/libraries/Javascript.php
@@ -586,7 +586,6 @@ public function show($element = 'this', $speed = '', $callback = '')
return $this->js->_show($element, $speed, $callback);
}
-
// --------------------------------------------------------------------
/**
View
4 system/libraries/Migration.php
@@ -143,8 +143,8 @@ public function __construct($config = array())
// Migration basename regex
$this->_migration_regex = ($this->_migration_type === 'timestamp')
- ? '/^\d{14}_(\w+)$/'
- : '/^\d{3}_(\w+)$/';
+ ? '/^\d{14}_(\w+)$/'
+ : '/^\d{3}_(\w+)$/';
// Make sure a valid migration numbering type was set.
if ( ! in_array($this->_migration_type, array('sequential', 'timestamp')))
View
2  system/libraries/Table.php
@@ -527,7 +527,7 @@ protected function _compile_template()
*/
protected function _default_template()
{
- return array(
+ return array(
'table_open' => '<table border="0" cellpadding="4" cellspacing="0">',
'thead_open' => '<thead>',
View
1  system/libraries/Upload.php
@@ -294,7 +294,6 @@ public function initialize($config = array())
'client_name' => ''
);
-
foreach ($defaults as $key => $val)
{
if (isset($config[$key]))
View
1  tests/codeigniter/helpers/date_helper_test.php
@@ -5,7 +5,6 @@ class Date_helper_test extends CI_TestCase {
public function set_up()
{
$this->helper('date');
-
$this->time = time();
}
View
2  tests/codeigniter/helpers/file_helper_test.php
@@ -148,6 +148,4 @@ private function _test_get_file_info($vals)
//
// }
- // --------------------------------------------------------------------
-
}
View
1  tests/codeigniter/helpers/html_helper_test.php
@@ -88,4 +88,5 @@ public function test_meta()
$this->assertEquals($expect, meta(array('name' => 'foo')));
}
+
}
View
1  tests/codeigniter/helpers/path_helper_test.php
@@ -26,6 +26,7 @@ public function test_set_realpath_error_trigger()
set_realpath('/path/to/nowhere', TRUE);
}
+
}
/* End of file path_helper_test.php */
View
3  tests/codeigniter/libraries/Driver_test.php
@@ -173,4 +173,5 @@ public function test_decorate()
// Can we call the parent method?
$this->assertEquals($return, $child->$method());
}
-}
+
+}
View
1  tests/codeigniter/libraries/Encrypt_test.php
@@ -51,7 +51,6 @@ public function test_default_cipher()
// --------------------------------------------------------------------
-
public function test_set_cipher()
{
if ( ! $this->mcrypt)
View
4 tests/codeigniter/libraries/Session_test.php
@@ -4,6 +4,7 @@
* Session driver library unit test
*/
class Session_test extends CI_TestCase {
+
protected $settings = array(
'use_cookies' => 0,
'use_only_cookies' => 0,
@@ -421,4 +422,5 @@ public function test_sess_destroy()
$this->session->native->sess_destroy();
$this->assertNull($this->session->native->userdata($key));
}
-}
+
+}
View
2  tests/mocks/ci_testconfig.php
@@ -17,4 +17,4 @@ public function load($file, $arg2 = FALSE, $arg3 = FALSE)
return TRUE;
}
-}
+}
View
1  tests/mocks/core/common.php
@@ -148,7 +148,6 @@ function _exception_handler($severity, $message, $filepath, $line)
}
}
-
// We assume a few things about our environment ...
// --------------------------------------------------------------------
View
2  tests/mocks/libraries/driver.php
@@ -24,4 +24,4 @@ public function get_name()
{
return $this->lib_name;
}
-}
+}
View
2  tests/mocks/libraries/session.php
@@ -33,4 +33,4 @@ protected function _setcookie($name, $value = '', $expire = 0, $path = '', $doma
$_COOKIE[$name] = $value;
}
}
-}
+}
View
4 user_guide_src/source/general/common_functions.rst
@@ -178,8 +178,8 @@ is_https()
Returns TRUE if a secure (HTTPS) connection is used and FALSE
in any other case (including non-HTTP requests).
-function_usable($function_name)
-===============================
+function_usable()
+=================
.. php:function:: function_usable($function_name)
Please sign in to comment.
Something went wrong with that request. Please try again.