Add all code files from IDE
This commit is contained in:
50
source/config.php
Normal file
50
source/config.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?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
|
||||
|
||||
|
||||
]
|
||||
]
|
||||
|
||||
];
|
Reference in New Issue
Block a user