diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-16 14:32:03 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-16 14:32:03 +1000 |
commit | 11b98b11b01f9aff34f6a342bfb2372daf7f007a (patch) | |
tree | 39005381e96caeaadd5650274a68ada83bc27690 /scripts/vendorid/connect.php | |
parent | c16a2d8deee8bb7ea8840d83e9aa29a947e16430 (diff) |
scripts/vendorid/connect.php is a credential file
Diffstat (limited to 'scripts/vendorid/connect.php')
-rw-r--r-- | scripts/vendorid/connect.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/vendorid/connect.php b/scripts/vendorid/connect.php deleted file mode 100644 index cb078be..0000000 --- a/scripts/vendorid/connect.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -//created by Antonio Gallo (tonicucoz@yahoo.com) -// this script is in the Public Domain - -$host = ''; -$user = ''; -$password = ''; -$dbName = ''; - -class DB -{ - public static $instance; -} - -DB::$instance = new mysqli($host,$user,$password,$dbName); - -if (mysqli_connect_error()) -{ - die('Connect Error (' . mysqli_connect_errno() . ') ' . mysqli_connect_error()); -} - -?>
\ No newline at end of file |