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/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index 2ad5d61..70148f3 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -48,7 +48,7 @@
*/
function db_connect()
{
- if ( ! $conn_id = @sqlite_open($this->database, FILE_WRITE_MODE, $error))
+ if (! $conn_id = @sqlite_open($this->database, FILE_WRITE_MODE, $error))
{
log_message('error', $error);
@@ -73,7 +73,7 @@
*/
function db_pconnect()
{
- if ( ! $conn_id = @sqlite_popen($this->database, FILE_WRITE_MODE, $error))
+ if (! $conn_id = @sqlite_popen($this->database, FILE_WRITE_MODE, $error))
{
log_message('error', $error);
@@ -171,7 +171,7 @@
*/
function trans_begin($test_mode = FALSE)
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}
@@ -201,7 +201,7 @@
*/
function trans_commit()
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}
@@ -226,7 +226,7 @@
*/
function trans_rollback()
{
- if ( ! $this->trans_enabled)
+ if (! $this->trans_enabled)
{
return TRUE;
}