From e7f4f22737eb6c6e22ccfdc1609201efd4e85486 Mon Sep 17 00:00:00 2001 From: alopexc0de Date: Thu, 26 Jun 2014 20:38:07 -0400 Subject: [PATCH] Move database connection to independent file --- Website/Include/PHP/db.php | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Website/Include/PHP/db.php diff --git a/Website/Include/PHP/db.php b/Website/Include/PHP/db.php new file mode 100644 index 0000000..fb6fed9 --- /dev/null +++ b/Website/Include/PHP/db.php @@ -0,0 +1,4 @@ +connect_errno > 0) die('Unable to connect to database [' . $shortdb->connect_error . '] - Check dbsettings.php'); +?> \ No newline at end of file