OpenVPN-Admin/include/connect.php

7 lines
196 B
PHP
Raw Normal View History

2014-03-18 21:25:52 +01:00
<?php
require(dirname(__FILE__) . "/config.php");
2014-03-18 21:25:52 +01:00
$options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION;
2015-07-09 14:26:07 +02:00
$bdd = new PDO("mysql:host=$host;port=$port;dbname=$db", $user, $pass, $options);
2014-03-18 21:25:52 +01:00
?>