Skip to content
Snippets Groups Projects
Commit 1db752e8 authored by Brett Bieber's avatar Brett Bieber
Browse files

Add sample config file

parent 7b3b174e
Branches
Tags
No related merge requests found
<?php
function autoload($class)
{
$class = str_replace('_', '/', $class);
include $class . '.php';
}
spl_autoload_register("autoload");
set_include_path(dirname(__FILE__).'/../src'.PATH_SEPARATOR.dirname(__FILE__).'/../lib/php');
$db = new PDO(
'mysql:host=localhost;dbname=wdn',
'wdn',
'wdn'
);
ini_set('display_errors', true);
error_reporting(E_ALL);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment