51 lines
1.5 KiB
PHP
51 lines
1.5 KiB
PHP
<?php
|
|
|
|
// Keep things simple for simplicity's sake. We can't waste too much time.
|
|
// Wrap this around an helper class
|
|
return [
|
|
|
|
"mainconfig" =>
|
|
[
|
|
"appname" => "SG-Gateway",
|
|
"appversion" => "alpha 1.0",
|
|
"operationmode" => "development"
|
|
|
|
],
|
|
|
|
"core" =>
|
|
[
|
|
"database" =>
|
|
[
|
|
"username" => "",
|
|
"password" => "password",
|
|
"hostname" => "hostname",
|
|
"port" => "port",
|
|
"dbname" => "db"
|
|
],
|
|
"virtualmin" =>
|
|
[
|
|
"vmin-url" => "",
|
|
"password" => "",
|
|
"username" => ""
|
|
],
|
|
|
|
"templates" =>
|
|
[
|
|
|
|
"templateDirectory" => $_SERVER['DOCUMENT_ROOT'] . '/source/emailTemplates'
|
|
|
|
],
|
|
|
|
"mailer" =>
|
|
[
|
|
|
|
"username" => "0bffccb77f9228",
|
|
"password" => "bbd994d1500dab",
|
|
"hostname" => " smtp.mailtrap.io",
|
|
"port" => 2525
|
|
|
|
|
|
]
|
|
]
|
|
|
|
]; |