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/helpers/array_helper.php b/system/helpers/array_helper.php
index 236e390..8ae4482 100644
--- a/system/helpers/array_helper.php
+++ b/system/helpers/array_helper.php
@@ -43,7 +43,7 @@
{
function element($item, $array, $default = FALSE)
{
- if ( ! isset($array[$item]) OR $array[$item] == "")
+ if (! isset($array[$item]) OR $array[$item] == "")
{
return $default;
}
@@ -65,7 +65,7 @@
{
function random_element($array)
{
- if ( ! is_array($array))
+ if (! is_array($array))
{
return $array;
}