Skip to content
Permalink
Browse files

Disable php-activerecord autoloader before literally everything else

  • Loading branch information
SeinopSys committed Dec 1, 2019
1 parent 9b923d1 commit 2faf94f855bb93b965769fb4f0319f1f59343b24
Showing with 2 additions and 1 deletion.
  1. +0 −1 config/constants.php
  2. +2 −0 public/index.php
@@ -18,7 +18,6 @@
define('DISCORD_INVITE_LINK', 'https://discord.gg/hrffb8k');
define('CSP_NONCE', base64_encode(random_bytes(16)));
define('API_SCHEMA_PATH', 'dist/api.json');
define('PHP_ACTIVERECORD_AUTOLOAD_DISABLE', true);
require __DIR__.'/init/env.php';
@@ -1,5 +1,7 @@
<?php
define('PHP_ACTIVERECORD_AUTOLOAD_DISABLE', true);
require __DIR__.'/../config/init.php';
use App\CoreUtils;

0 comments on commit 2faf94f

Please sign in to comment.
You can’t perform that action at this time.