mirror of
https://github.com/DanWin/hosting.git
synced 2025-07-26 00:38:14 +02:00
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:
parent
c65055a9bb
commit
fa24bb61ec
95 changed files with 3075 additions and 59 deletions
|
@ -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'])){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue