mirror of
https://github.com/gamaio/UnPS-API.git
synced 2024-12-22 02:02:40 +00:00
Add userdb connection
This commit is contained in:
parent
c1d70ed10a
commit
526e5793f1
@ -11,4 +11,7 @@ if($shortdb->connect_errno > 0) die('Unable to connect to database [' . $shortdb
|
|||||||
$imgdb = new mysqli('localhost', 'image', 'password', 'image'); // Connect to image host DB
|
$imgdb = new mysqli('localhost', 'image', 'password', 'image'); // Connect to image host DB
|
||||||
if($imgdb->connect_errno > 0) die('Unable to connect to database [' . $imgdb->connect_error . '] - Check dbsettings.php');
|
if($imgdb->connect_errno > 0) die('Unable to connect to database [' . $imgdb->connect_error . '] - Check dbsettings.php');
|
||||||
|
|
||||||
|
$udb = new mysqli('localhost', 'logins', 'password', 'logins'); // Connect to UserAC DB
|
||||||
|
if($udb->connect_errno > 0) die('Unable to connect to database [' . $udb->connect_error . '] - Check dbsettings.php');
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user