tweak to the new fopen mode constant names
diff --git a/system/application/config/constants.php b/system/application/config/constants.php
index 3909941..3f79756 100644
--- a/system/application/config/constants.php
+++ b/system/application/config/constants.php
@@ -26,12 +26,14 @@
| These modes are used when working with fopen()/popen()
|
*/
-define('FOPEN_READ_BOF', 'rb');
-define('FOPEN_READ_WRITE_BOF', 'r+b');
-define('FOPEN_WRITE_CREATE_BOF', 'wb'); // truncates existing file data, use with care
-define('FOPEN_READ_WRITE_CREATE_BOF', 'w+b'); // truncates existing file data, use with care
-define('FOPEN_WRITE_CREATE_EOF', 'ab');
-define('FOPEN_READ_WRITE_CREATE_EOF', 'a+b');
-define('FOPEN_WRITE_CREATE_STRICT', 'xb');
-define('FOPEN_READ_WRITE_CREATE_STRICT','x+b');
+
+define('FOPEN_READ', 'rb');
+define('FOPEN_READ_WRITE', 'r+b');
+define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
+define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
+define('FOPEN_WRITE_CREATE', 'ab');
+define('FOPEN_READ_WRITE_CREATE', 'a+b');
+define('FOPEN_WRITE_CREATE_STRICT', 'xb');
+define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
+
?>
\ No newline at end of file