1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-23 20:22:40 +00:00
lobli/Website/Include/PHP/db.php
2014-06-26 20:38:07 -04:00

4 lines
237 B
PHP

<?php
$shortdb = new mysqli('localhost', 'short', 'password', 'short'); // Connect to link shortener DB
if($shortdb->connect_errno > 0) die('Unable to connect to database [' . $shortdb->connect_error . '] - Check dbsettings.php');
?>