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