fix php
This commit is contained in:
parent
9bf508deaa
commit
ccf1d7aee0
7
_vars
7
_vars
@ -8,10 +8,11 @@ interface=''
|
||||
# Timezone for local user
|
||||
tz='UTC'
|
||||
|
||||
# Username/email/password (multiple users allowed)
|
||||
# Must have at least one Username/password
|
||||
declare -A umail upw
|
||||
# Username / Email / Password/Hash (multiple users allowed)
|
||||
# Must have at least one Username and Email with either Password or Hash
|
||||
declare -A umail upw uhash
|
||||
u='username' umail[$u]='email' upw[$u]='password'
|
||||
u='username' umail[$u]='email' uhash[$u]='$(caddy hash-password)'
|
||||
|
||||
# Variables for mailer
|
||||
user='(smtp login)'
|
||||
|
||||
@ -25,7 +25,7 @@ if($authuser!==''){
|
||||
<td><input class="shiftleft" type="submit" value="Logoff"></td></tr>
|
||||
</form>');
|
||||
}
|
||||
<form action="'.(isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].'/upload.php" method="post" enctype="multipart/form-data" onsubmit="respond()">');
|
||||
print('<form action="'.(isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].'/upload.php" method="post" enctype="multipart/form-data" onsubmit="respond()">');
|
||||
?>
|
||||
<tr>
|
||||
<td>Target:</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user