mirror of
https://github.com/gamaio/lobli.git
synced 2026-04-29 16:25:03 +00:00
Move database connection to independent file
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<?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');
|
||||
?>
|
||||
Reference in New Issue
Block a user