From b97362f06ec082f857decc47644df2f41d39c04f Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Sun, 18 Dec 2011 14:48:12 -0800 Subject: [PATCH] Updated init, and README --- README | 4 ---- init.php | 29 +++++++++++++++-------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/README b/README index 5cec958..5126d70 100644 --- a/README +++ b/README @@ -11,10 +11,6 @@ requirements: todo (would be nice): - pagination -- tags, descriptions, other metadata - private urls - export -- have options to use another DB other than MySQL - - diff --git a/init.php b/init.php index a257800..69c75e2 100644 --- a/init.php +++ b/init.php @@ -1,22 +1,23 @@ ;dbname="); - define('DB_UNAME', ""); - define('DB_PW', ""); +# settings +define('BASE_URL', 'example.com'); +# database +define('DB_DSN', "mysql:host=;dbname="); +define('DB_UNAME', ""); +define('DB_PW', ""); - ini_set('display_errors', 1); - error_reporting( E_ALL ); +ini_set('display_errors', 1); +error_reporting( E_ALL ); - - include 'data.php'; +include 'data.php'; -- 2.34.1