add prefix to env variables
This commit is contained in:
@@ -6,9 +6,9 @@ if (isset($_ENV['LOCAL']) && $_ENV['LOCAL']) {
|
||||
}
|
||||
// old
|
||||
// https://www.duckdns.org/update?domains=rhost.duckdns.org&token=1b4ab267-b818-4407-8351-8800c6f4fd78
|
||||
$toUpdateString = $_ENV['DOMAIN_UPDATE'];
|
||||
$user = $_ENV['USER'];
|
||||
$pass = $_ENV['PASSWORD'];
|
||||
$toUpdateString = $_ENV['DYNDNS_DOMAIN_UPDATE'];
|
||||
$user = $_ENV['DYNDNS_USER'];
|
||||
$pass = $_ENV['DYNDNS_PASSWORD'];
|
||||
$dateUpdate = date("Y-m-d H:i:s");
|
||||
|
||||
if (!$toUpdateString || !$user || !$pass) {
|
||||
|
||||
Reference in New Issue
Block a user