| 123456789101112131415161718192021 |
- <?php
- define("DB_HOST", "localhost");
- define("DB_PORT", 3306);
- define("DB_NAME", "irc_anope");
- define("DB_USER", "root");
- define("DB_PASS", "");
- // DO NOT EDIT BELOW
- $dblink = null;
- try {
- global $dblink;
- $dblink = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME.";port=".DB_PORT, DB_USER, DB_PASS);
- }
- catch (Exception $e) {
- echo "Error: (" .$e->getCode() .") " .$e->getMessage();
- exit();
- }
- ?>
|