25f604fcb1
Spinning up webserver Test URL (theoretically): https://billing.spacejewel.ga/paddle/[key]/detectIntent should output all vars in this commit In production, it should redirect the logic and execute different code (Instead of using an url redirect)
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
|
|
|
|
|
|
]
|
|
]
|
|
|
|
]; |