Initial Commit

This commit is contained in:
Frank John Begornia
2019-11-04 17:12:11 +08:00
commit 659ad69995
125 changed files with 17296 additions and 0 deletions

18
dbconfig.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
$host = "localhost";
$username = "root";
$password = "";
$db = "custom_design";
try{
// database connection
$conn = new PDO("mysql:host=$host;dbname=$db",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
}
catch(PDOException $pe)
{
die('Connection error, because: ' .$pe->getMessage());
}
$baseURL = 'http://'.$_SERVER['HTTP_HOST'] . '/bulacanlibrary/';