mirror of
https://github.com/Rouji/single_php_filehost.git
synced 2025-04-03 16:09:33 +00:00
use double quotes for \n and \t. herp derp
This commit is contained in:
parent
6c5d984efa
commit
8ecbe201ba
@ -179,13 +179,13 @@ function store_file(string $name, string $tmpfile, bool $formatted = false) : vo
|
||||
{
|
||||
file_put_contents(
|
||||
CONFIG::LOG_PATH,
|
||||
implode('\t', array(
|
||||
implode("\t", array(
|
||||
date('c'),
|
||||
$_SERVER['REMOTE_ADDR'],
|
||||
filesize($tmpfile),
|
||||
escapeshellarg($name),
|
||||
$basename
|
||||
)) . '\n',
|
||||
)) . "\n",
|
||||
FILE_APPEND
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user