Added support for mail() inside chroots

This commit is contained in:
Daniel Winzen
2020-01-05 15:50:08 +01:00
parent f573f79f6c
commit d7c886bb54
11 changed files with 63 additions and 14 deletions

View File

@ -1,6 +1,5 @@
<?php
require('../common.php');
session_start();
$user=check_login();
use chillerlan\QRCode\QRCode;
use chillerlan\QRCode\QROptions;
@ -27,7 +26,11 @@ if($rates === false){
<select name="upgrade">
<?php
foreach(ACCOUNT_UPGRADES as $name => $upgrade){
echo '<option value="'.htmlspecialchars($name).'">'.htmlspecialchars($upgrade['name']).' ($'.$upgrade['usd_price'].')</option>';
echo '<option value="'.htmlspecialchars($name).'"';
if(isset($_REQUEST['upgrade']) && $name===$_REQUEST['upgrade']){
echo ' selected';
}
echo '>'.htmlspecialchars($upgrade['name']).' ($'.$upgrade['usd_price'].')</option>';
}
?>
</td></tr>