diff --git a/www/request_account/index.php b/www/request_account/index.php index 71b502a..bffd8ef 100644 --- a/www/request_account/index.php +++ b/www/request_account/index.php @@ -65,7 +65,7 @@ if($_POST) { $mail_subject = "$firstname $lastname has requested an account for $ORGANISATION_NAME."; -$link_url="${SITE_PROTOCOL}${SERVER_HOSTNAME}${SERVER_PATH}account_manager/new_user.php?account_request&first_name=$firstname&last_name=$lastname&email=$email"; +$link_url="{$SITE_PROTOCOL}{$SERVER_HOSTNAME}{$SERVER_PATH}account_manager/new_user.php?account_request&first_name=$firstname&last_name=$lastname&email=$email"; if (!isset($email)) { $email = "n/a"; } if (!isset($notes)) { $notes = "n/a"; } diff --git a/www/setup/run_checks.php b/www/setup/run_checks.php index 7787655..f38434a 100644 --- a/www/setup/run_checks.php +++ b/www/setup/run_checks.php @@ -35,14 +35,14 @@ $ldap_connection = open_ldap_connection(); \n"; +print "$li_good Connected to {$LDAP['uri']}\n"; #TLS? if ($LDAP['connection_type'] != "plain") { - print "$li_good Encrypted connection to ${LDAP['uri']} via ${LDAP['connection_type']}\n"; + print "$li_good Encrypted connection to {$LDAP['uri']} via {$LDAP['connection_type']}\n"; } else { - print "$li_warn Unable to connect to ${LDAP['uri']} via StartTLS. "; + print "$li_warn Unable to connect to {$LDAP['uri']} via StartTLS. "; print "What's this?\n"; @@ -98,14 +98,14 @@ else {