e949/api/_db.php

16 lines
242 B
PHP
Raw Normal View History

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