mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Miscellaneous static analysis improvements for php 7.1 (#620)
* Miscellaneous static analysis improvements for php 7.1 * Update changes.txt
This commit is contained in:
parent
4e8e181d8c
commit
7019d31353
37 changed files with 156 additions and 151 deletions
|
@ -29,6 +29,7 @@ function attach_build_auth_levels($is_auth, &$s_auth_can)
|
|||
function attachment_quota_settings($admin_mode, $submit = false, $mode)
|
||||
{
|
||||
global $template, $lang, $attach_config;
|
||||
$this_userdata = [];
|
||||
|
||||
if ($attach_config['upload_dir'][0] == '/' || ($attach_config['upload_dir'][0] != '/' && $attach_config['upload_dir'][1] == ':')) {
|
||||
$upload_dir = $attach_config['upload_dir'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue