Added PHP 7.2 support + minor bugfixes and performance tweaks

Note when applying this update you will have to update existing nginx vhosts to match new listening addresses (IPv6). Preferably you should update them to unix socket though and apply the changes to the tor hidden service config as well
This commit is contained in:
Daniel Winzen 2018-02-10 22:10:07 +01:00
parent c65055a9bb
commit fa24bb61ec
No known key found for this signature in database
GPG key ID: 02560D377A8647DB
95 changed files with 3075 additions and 59 deletions

View file

@ -65,6 +65,7 @@ const TYPES=[
'xml'=>'doc',
'doc'=>'doc',
'docx'=>'doc',
'css'=>'doc',
'html'=>'doc',
'htm'=>'doc',
'shtml'=>'doc',
@ -131,7 +132,7 @@ if(!empty($_POST['mkfile']) && !empty($_POST['name'])){
$tmpfile='/tmp/'.uniqid();
touch($tmpfile);
ftp_put($ftp, $_POST['name'], $tmpfile, FTP_BINARY);
unlink($tmpflie);
unlink($tmpfile);
}
if(!empty($_POST['delete']) && !empty($_POST['files'])){