mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
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
This commit is contained in:
parent
9f0b6766f9
commit
876b193180
3 changed files with 4 additions and 4 deletions
|
@ -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?>");
|
||||
|
|
Loading…
Add table
Reference in a new issue