change config to array
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
<?php
|
||||
$homeserver = "example.com";
|
||||
$access_token = "To be used for sending the registration notification";
|
||||
$register_room = '$registerRoomID:example.com';
|
||||
$config = [
|
||||
"homeserver" => "example.com",
|
||||
"access_token" => "To be used for sending the registration notification",
|
||||
|
||||
$webroot="https://myregisterdomain.net/";
|
||||
$howToURL = "https://my-url-for-storing-howTos.net";
|
||||
// Which e-mail-adresse shall the bot use to send e-mails?
|
||||
"register_email" => 'register_bot@example.com',
|
||||
// Where should the bot post registration requests to?
|
||||
"register_room" => '$registerRoomID:example.com',
|
||||
|
||||
// Where is the public part of the bot located? make sure you have a / at the end
|
||||
"webroot" => "https://myregisterdomain.net/",
|
||||
|
||||
// optional: Do you have a place where howTo's are located? If not leave this value out
|
||||
"howToURL" => "https://my-url-for-storing-howTos.net",
|
||||
]
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user