Updates
- apache2 config - dockerfile changes
This commit is contained in:
parent
c128fd5032
commit
7ffda3b2a5
42 changed files with 1488 additions and 86 deletions
|
@ -4,10 +4,4 @@ $port = (int)$_ENV['DB_PORT'];
|
|||
$username = $_ENV['DB_USERNAME'];
|
||||
$password = $_ENV['DB_PASSWORD'];
|
||||
$dbname = $_ENV['DB_DATABASE_NAME'];
|
||||
|
||||
// $servername = "127.0.0.1";
|
||||
// $port = 3306;
|
||||
// $username = "root";
|
||||
// $password = "";
|
||||
// $dbname = "geometrydash";
|
||||
?>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
$reupUID = 71; // The UserID of the account.
|
||||
$reupAID = 71; // The AccountID of the account. Also known as extID in the "users" table.
|
||||
$reupUID = (int)$_ENV['reupUID']
|
||||
$reupAID = (int)$_ENV['reupUID']
|
||||
|
||||
// $reupUID = 71; // The UserID of the account.
|
||||
// $reupAID = 71; // The AccountID of the account. Also known as extID in the "users" table.
|
||||
|
||||
/*
|
||||
Setup for the reupload account:
|
||||
|
|
|
@ -1,13 +1,21 @@
|
|||
<?php
|
||||
$sessionGrants = true; //false = GJP check is done every time; true = GJP check is done once per hour; significantly improves performance, slightly descreases security
|
||||
$unregisteredSubmissions = false; //false = green accounts can't upload levels, appear on the leaderboards etc; true = green accounts can do everything
|
||||
$preactivateAccounts = true; //false = acounts need to be activated at tools/account/activateAccount.php; true = accounts can log in immediately
|
||||
|
||||
/*
|
||||
Captcha settings
|
||||
Currently the only supported provider is hCaptcha
|
||||
https://www.hcaptcha.com/
|
||||
*/
|
||||
$enableCaptcha = false;
|
||||
$hCaptchaKey = "";
|
||||
$hCaptchaSecret = "";
|
||||
$sessionGrants = (bool)$_ENV['SECURITY_SESSION_GRANTS']
|
||||
$unregisteredSubmissions = (bool)$_ENV['SECURITY_UNREGISTERED_SUBMISSIONS']
|
||||
$preactivateAccounts = (bool)$_ENV['SECURITY_PREACTIVATE_ACCOUNTS']
|
||||
|
||||
$enableCaptcha = (bool)$_ENV['HCAPTCHA_ENABLED']
|
||||
$hCaptchaKey = $_ENV['HCAPTCHA_KEY']
|
||||
$hCaptchaSecret = $_ENV['HCAPTCHA_SECRET']
|
||||
// $sessionGrants = true; //false = GJP check is done every time; true = GJP check is done once per hour; significantly improves performance, slightly descreases security
|
||||
// $unregisteredSubmissions = false; //false = green accounts can't upload levels, appear on the leaderboards etc; true = green accounts can do everything
|
||||
// $preactivateAccounts = true; //false = acounts need to be activated at tools/account/activateAccount.php; true = accounts can log in immediately
|
||||
//
|
||||
// /*
|
||||
// Captcha settings
|
||||
// Currently the only supported provider is hCaptcha
|
||||
// https://www.hcaptcha.com/
|
||||
// */
|
||||
// $enableCaptcha = false;
|
||||
// $hCaptchaKey = "";
|
||||
// $hCaptchaSecret = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue