From 1db752e8dc643a4f395e519f17e5c9ca58e4cf24 Mon Sep 17 00:00:00 2001
From: Brett Bieber <brett.bieber@gmail.com>
Date: Thu, 21 Jan 2010 20:00:08 +0000
Subject: [PATCH] Add sample config file

---
 www/config.sample.php | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 www/config.sample.php

diff --git a/www/config.sample.php b/www/config.sample.php
new file mode 100644
index 0000000..7e8670f
--- /dev/null
+++ b/www/config.sample.php
@@ -0,0 +1,18 @@
+<?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
-- 
GitLab