]> git.quilime.com - clmpr.git/commitdiff
Updated init, and README
authorGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 22:48:12 +0000 (14:48 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 22:48:12 +0000 (14:48 -0800)
README
init.php

diff --git a/README b/README
index 5cec958e1075be7cea9b71a4d9d85ca9c8555842..5126d70fe54083bf14229e3c295abafae0abf0af 100644 (file)
--- 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
-
-
 
index a257800d571b66e3fa441627a053211667264f50..69c75e26fe97606db0fa8debb63e59089c6366f7 100644 (file)
--- a/init.php
+++ b/init.php
@@ -1,22 +1,23 @@
 <?php
 
-    session_start();
+session_start();
 
-    # timezone
-    putenv('TZ=America/Los_Angeles');
+# timezone
+putenv('TZ=America/Los_Angeles');
 
-    # include folders
-    ini_set('include_path', dirname(realpath(__FILE__)));
-    define('TMP_DIR', dirname(realpath(__FILE__)) .'/../tmp');
+# include folders
+ini_set('include_path', dirname(realpath(__FILE__)));
+define('TMP_DIR', dirname(realpath(__FILE__)) .'/../tmp');
 
-    # database
-    define('DB_DSN',    "mysql:host=<mysql.hostname.com>;dbname=<dbnam>");
-    define('DB_UNAME',  "<user>");
-    define('DB_PW',     "<pass>");
+# settings
+define('BASE_URL', 'example.com');
 
+# database
+define('DB_DSN',    "mysql:host=<mysql.hostname.com>;dbname=<dbnam>");
+define('DB_UNAME',  "<user>");
+define('DB_PW',     "<pass>");
 
-    ini_set('display_errors', 1);
-    error_reporting( E_ALL );
+ini_set('display_errors', 1);
+error_reporting( E_ALL );
 
-
-    include 'data.php';
+include 'data.php';