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/smiley_helper.php b/system/helpers/smiley_helper.php
index 25962eb..81c6b91 100644
--- a/system/helpers/smiley_helper.php
+++ b/system/helpers/smiley_helper.php
@@ -67,7 +67,7 @@
{
function get_clickable_smileys($image_url = '', $smileys = NULL)
{
- if ( ! is_array($smileys))
+ if (! is_array($smileys))
{
if (FALSE === ($smileys = _get_smiley_array()))
{
@@ -120,7 +120,7 @@
return $str;
}
- if ( ! is_array($smileys))
+ if (! is_array($smileys))
{
if (FALSE === ($smileys = _get_smiley_array()))
{
@@ -154,14 +154,14 @@
{
function _get_smiley_array()
{
- if ( ! file_exists(APPPATH.'config/smileys'.EXT))
+ if (! file_exists(APPPATH.'config/smileys'.EXT))
{
return FALSE;
}
include(APPPATH.'config/smileys'.EXT);
- if ( ! isset($smileys) OR ! is_array($smileys))
+ if (! isset($smileys) OR ! is_array($smileys))
{
return FALSE;
}