diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-08 21:09:05 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-08 21:09:05 +0000 |
commit | 459e929311d8806f604c0b914ba4b37aa731fbfc (patch) | |
tree | d81247d7ee4f768c9df552df07aad6d6896047f8 /includes/db.php | |
parent | 5b892eafafb1f41bab1a20f1524cef144042e3e1 (diff) | |
download | pillowcase-master.tar.gz pillowcase-master.tar.bz2 pillowcase-master.zip |
Diffstat (limited to 'includes/db.php')
-rwxr-xr-x | includes/db.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/db.php b/includes/db.php index 6554b8a..e2d67ee 100755 --- a/includes/db.php +++ b/includes/db.php | |||
@@ -1,9 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | include_once('fix_mysql.inc.php'); | ||
4 | include('/srv/www/security/pillowcase.php'); | 3 | include('/srv/www/security/pillowcase.php'); |
5 | 4 | ||
6 | $mysql_conn = mysql_connect($dbhost, $dbuser, $dbpasswd); | 5 | $mysql_conn = new mysqli($dbhost, $dbuser, $dbpasswd, $dbname); |
7 | mysql_select_db($dbname); | ||
8 | 6 | ||
9 | ?> | 7 | ?> |