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/Unit_test.php b/system/libraries/Unit_test.php
index ff4d0c7..3cdf45f 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -260,8 +260,8 @@
{
$back = debug_backtrace();
- $file = ( ! isset($back['1']['file'])) ? '' : $back['1']['file'];
- $line = ( ! isset($back['1']['line'])) ? '' : $back['1']['line'];
+ $file = (! isset($back['1']['file'])) ? '' : $back['1']['file'];
+ $line = (! isset($back['1']['line'])) ? '' : $back['1']['line'];
return array('file' => $file, 'line' => $line);
}
@@ -300,7 +300,7 @@
*/
function _parse_template()
{
- if ( ! is_null($this->_template_rows))
+ if (! is_null($this->_template_rows))
{
return;
}
@@ -311,7 +311,7 @@
return;
}
- if ( ! preg_match("/\{rows\}(.*?)\{\/rows\}/si", $this->_template, $match))
+ if (! preg_match("/\{rows\}(.*?)\{\/rows\}/si", $this->_template, $match))
{
$this->_default_template();
return;