summaryrefslogtreecommitdiffstats
path: root/system/application/config
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-05 22:07:09 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-05 22:07:09 +0200
commit3be20e26b7d3c0f60bc60b314a85138100edab52 (patch)
treebd134700b39e5331a190d47684ddf29c11cd951e /system/application/config
parent14031d152b76e7744d6f8a70964ecae77ca55179 (diff)
tweak to the new fopen mode constant names
Diffstat (limited to 'system/application/config')
-rw-r--r--system/application/config/constants.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/system/application/config/constants.php b/system/application/config/constants.php
index 3909941ec..3f7975635 100644
--- a/system/application/config/constants.php
+++ b/system/application/config/constants.php
@@ -26,12 +26,14 @@ define('DIR_WRITE_MODE', 0777);
| 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