1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-05 00:49:33 +00:00

use double quotes for \n and \t. herp derp

This commit is contained in:
Andreas Hackl 2022-09-09 12:53:48 +09:00
parent 6c5d984efa
commit 8ecbe201ba

View File

@ -179,13 +179,13 @@ function store_file(string $name, string $tmpfile, bool $formatted = false) : vo
{ {
file_put_contents( file_put_contents(
CONFIG::LOG_PATH, CONFIG::LOG_PATH,
implode('\t', array( implode("\t", array(
date('c'), date('c'),
$_SERVER['REMOTE_ADDR'], $_SERVER['REMOTE_ADDR'],
filesize($tmpfile), filesize($tmpfile),
escapeshellarg($name), escapeshellarg($name),
$basename $basename
)) . '\n', )) . "\n",
FILE_APPEND FILE_APPEND
); );
} }