mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
TorrentPier Aurochs release preparation.
This commit is contained in:
parent
e9a76e6a5c
commit
3e8b494572
21 changed files with 709 additions and 502 deletions
|
@ -305,7 +305,7 @@ function mkdir_rec($path, $mode)
|
|||
return ($path !== '.' && $path !== '..') ? is_writable($path) : false;
|
||||
}
|
||||
|
||||
return mkdir_rec(dirname($path), $mode) ? @mkdir($path, $mode) : false;
|
||||
return mkdir_rec(dirname($path), $mode) ? mkdir($path, $mode) : false;
|
||||
}
|
||||
|
||||
function verify_id($id, $length)
|
||||
|
@ -442,7 +442,7 @@ function log_request($file = '', $prepend_str = false, $add_post = true)
|
|||
{
|
||||
global $user;
|
||||
|
||||
$file = ($file) ?: 'req/' . date('m-d');
|
||||
$file = $file ?: 'req/' . date('m-d');
|
||||
$str = array();
|
||||
$str[] = date('m-d H:i:s');
|
||||
if ($prepend_str !== false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue