summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-01-08 03:43:31 +0100
committerAndrey Andreev <narf@bofh.bg>2012-01-08 03:43:31 +0100
commit29ce5d90b4276fc8a4e9354c1435963111f09a24 (patch)
tree9c7f9377fdca26dba967c02d8edc245a8bcd6ac8
parent282592c744b969d5cdebe00673f2bdc8d956261e (diff)
Replace AND with &&
-rwxr-xr-xsystem/core/CodeIgniter.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index e3d818825..cb5d439bd 100755
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -59,7 +59,7 @@
* Load the framework constants
* ------------------------------------------------------
*/
- if (defined('ENVIRONMENT') AND file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php'))
+ if (defined('ENVIRONMENT') && file_exists(APPPATH.'config/'.ENVIRONMENT.'/constants.php'))
{
require(APPPATH.'config/'.ENVIRONMENT.'/constants.php');
}
@@ -96,7 +96,7 @@
* Note: Since the config file data is cached it doesn't
* hurt to load it here.
*/
- if (isset($assign_to_config['subclass_prefix']) AND $assign_to_config['subclass_prefix'] != '')
+ if (isset($assign_to_config['subclass_prefix']) && $assign_to_config['subclass_prefix'] != '')
{
get_config(array('subclass_prefix' => $assign_to_config['subclass_prefix']));
}
@@ -106,8 +106,8 @@
* Set a liberal script execution time limit
* ------------------------------------------------------
*/
- if (function_exists('set_time_limit') AND @ini_get('safe_mode') == 0
- AND php_sapi_name() !== 'cli') // Do not override the Time Limit value if running from Command Line
+ if (function_exists('set_time_limit') && @ini_get('safe_mode') == 0
+ && php_sapi_name() !== 'cli') // Do not override the Time Limit value if running from Command Line
{
@set_time_limit(300);
}
@@ -195,7 +195,7 @@
* ------------------------------------------------------
*/
if ($EXT->_call_hook('cache_override') === FALSE
- AND $OUT->_display_cache($CFG, $URI) == TRUE)
+ && $OUT->_display_cache($CFG, $URI) == TRUE)
{
exit;
}
@@ -393,7 +393,7 @@
* Close the DB connection if one exists
* ------------------------------------------------------
*/
- if (class_exists('CI_DB') AND isset($CI->db))
+ if (class_exists('CI_DB') && isset($CI->db))
{
$CI->db->close();
}