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/libraries/Config.php b/system/libraries/Config.php
index 9b8b07c..73f1986 100644
--- a/system/libraries/Config.php
+++ b/system/libraries/Config.php
@@ -66,7 +66,7 @@
return TRUE;
}
- if ( ! file_exists(APPPATH.'config/'.$file.EXT))
+ if (! file_exists(APPPATH.'config/'.$file.EXT))
{
if ($fail_gracefully === TRUE)
{
@@ -77,7 +77,7 @@
include(APPPATH.'config/'.$file.EXT);
- if ( ! isset($config) OR ! is_array($config))
+ if (! isset($config) OR ! is_array($config))
{
if ($fail_gracefully === TRUE)
{
@@ -125,7 +125,7 @@
{
if ($index == '')
{
- if ( ! isset($this->config[$item]))
+ if (! isset($this->config[$item]))
{
return FALSE;
}
@@ -134,12 +134,12 @@
}
else
{
- if ( ! isset($this->config[$index]))
+ if (! isset($this->config[$index]))
{
return FALSE;
}
- if ( ! isset($this->config[$index][$item]))
+ if (! isset($this->config[$index][$item]))
{
return FALSE;
}
@@ -165,7 +165,7 @@
*/
function slash_item($item)
{
- if ( ! isset($this->config[$item]))
+ if (! isset($this->config[$item]))
{
return FALSE;
}