mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
get_magic_quotes_gpc compat
This commit is contained in:
parent
f78ef384a8
commit
8cebce15f8
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ declare(strict_types=1);
|
||||||
use Demostf\API\Container;
|
use Demostf\API\Container;
|
||||||
use Doctrine\DBAL\DriverManager;
|
use Doctrine\DBAL\DriverManager;
|
||||||
|
|
||||||
|
function get_magic_quotes_gpc() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$autoloader = require __DIR__ . '/../vendor/autoload.php';
|
$autoloader = require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
||||||
if (!getenv('DB_TYPE')) {
|
if (!getenv('DB_TYPE')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue