tweak to the new fopen mode constant names
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 2bcb98b..147a7fd 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -50,7 +50,7 @@
 			return file_get_contents($file);		

 		}

 

-		if (! $fp = @fopen($file, FOPEN_READ_BOF))

+		if (! $fp = @fopen($file, FOPEN_READ))

 		{

 			return FALSE;

 		}

@@ -85,7 +85,7 @@
  */	

 if (! function_exists('write_file'))

 {

-	function write_file($path, $data, $mode = FOPEN_WRITE_CREATE_BOF)

+	function write_file($path, $data, $mode = FOPEN_WRITE_CREATE_DESTRUCTIVE)

 	{

 		if (! $fp = @fopen($path, $mode))

 		{