Encrypt fixes, add carnum options, remove debug lines
This commit is contained in:
@@ -27,8 +27,12 @@
|
||||
session_save_path('.tmp'); // TEMP
|
||||
session_start(); // START
|
||||
require_once __DIR__ . '/autoload.php'; // AUTOLOAD
|
||||
use App\LobbySIO\Misc\Csrf; // ANTICSRF
|
||||
require_once __DIR__ . '/src/Misc/defuse-crypto.phar';
|
||||
use App\LobbySIO\Config\Registry;
|
||||
use Defuse\Crypto\Crypto;
|
||||
use App\LobbySIO\Misc\Csrf; // ANTICSRF
|
||||
$StaticFunctions = new \App\LobbySIO\Misc\StaticFunctions(); // DEFAULT CLASSES
|
||||
$encKey = $StaticFunctions->loadEncryptionKeyFromConfig();
|
||||
$SiteInfo = new \App\LobbySIO\Database\SiteInfo();
|
||||
$Users = new \App\LobbySIO\Database\Users();
|
||||
if (isset($_SESSION['user_id'])) { // LOGGED IN? GET USER OBJECT
|
||||
|
||||
Reference in New Issue
Block a user