e949/api/_db.php

16 lines
242 B
PHP
Raw Normal View History

<?php
// Database setup
2023-12-20 06:08:13 +03:00
// Includes
if ($IS_FRONTEND)
require_once("api/_config.php");
else
require_once("_config.php");
2023-08-12 01:39:17 +03:00
2023-08-12 01:39:17 +03:00
$db = new mysqli($Config["db"]["addr"], $Config["db"]["user"], $Config["db"]["pass"], $Config["db"]["name"]);
?>