diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2008-10-06 05:50:16 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-10-06 05:50:16 +0000 |
| commit | 876b193180f72424be0adcf6d63064db4e3f6a8a (patch) | |
| tree | 25fba757c2e512cf162f5fb9bbfab0f2dcf23c4f /phpBB/includes/functions_messenger.php | |
| parent | 9f0b6766f9040d420cd9795520ed8b446612d987 (diff) | |
| download | forums-876b193180f72424be0adcf6d63064db4e3f6a8a.tar forums-876b193180f72424be0adcf6d63064db4e3f6a8a.tar.gz forums-876b193180f72424be0adcf6d63064db4e3f6a8a.tar.bz2 forums-876b193180f72424be0adcf6d63064db4e3f6a8a.tar.xz forums-876b193180f72424be0adcf6d63064db4e3f6a8a.zip | |
some whitespace changes and opening files in binary mode in functions_messenger
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8971 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
| -rw-r--r-- | phpBB/includes/functions_messenger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 2160d712d0..b125a1586a 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -690,7 +690,7 @@ class queue } else { - if ($fp = @fopen($this->cache_file, 'w')) + if ($fp = @fopen($this->cache_file, 'wb')) { @flock($fp, LOCK_EX); fwrite($fp, "<?php\n\$this->queue_data = unserialize(" . var_export(serialize($this->queue_data), true) . ");\n\n?>"); |
