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/text_helper.php b/system/helpers/text_helper.php
index 21ab778..df3c89e 100644
--- a/system/helpers/text_helper.php
+++ b/system/helpers/text_helper.php
@@ -226,7 +226,7 @@
{
function word_censor($str, $censored, $replacement = '')
{
- if ( ! is_array($censored))
+ if (! is_array($censored))
{
return $str;
}
@@ -354,7 +354,7 @@
function word_wrap($str, $charlim = '76')
{
// Se the character limit
- if ( ! is_numeric($charlim))
+ if (! is_numeric($charlim))
$charlim = 76;
// Reduce multiple spaces