Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
Changed ( ! condition) into (! condition) within the code
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 4554a71..05720a4 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -140,16 +140,16 @@
{
static $main_conf;
- if ( ! isset($main_conf))
+ if (! isset($main_conf))
{
- if ( ! file_exists(APPPATH.'config/config'.EXT))
+ if (! file_exists(APPPATH.'config/config'.EXT))
{
exit('The configuration file config'.EXT.' does not exist.');
}
require(APPPATH.'config/config'.EXT);
- if ( ! isset($config) OR ! is_array($config))
+ if (! isset($config) OR ! is_array($config))
{
exit('Your config file does not appear to be formatted correctly.');
}
@@ -169,11 +169,11 @@
{
static $config_item = array();
- if ( ! isset($config_item[$item]))
+ if (! isset($config_item[$item]))
{
$config =& get_config();
- if ( ! isset($config[$item]))
+ if (! isset($config[$item]))
{
return FALSE;
}
diff --git a/system/codeigniter/Compat.php b/system/codeigniter/Compat.php
index 56ebbf4..8537432 100644
--- a/system/codeigniter/Compat.php
+++ b/system/codeigniter/Compat.php
@@ -36,7 +36,7 @@
* will generate errors when running under PHP 4
*
*/
-if ( ! defined('E_STRICT'))
+if (! defined('E_STRICT'))
{
define('E_STRICT', 2048);
}