]> git.quilime.com - clmpr.git/commitdiff
Updated Init to have ALLOW_SIGNUP
authorGabriel Dunne <gdunne@quilime.com>
Tue, 21 Feb 2012 08:03:40 +0000 (00:03 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Tue, 21 Feb 2012 08:03:40 +0000 (00:03 -0800)
init.php

index 69c75e26fe97606db0fa8debb63e59089c6366f7..da617ab4755eec18ffd8eaacd5b9cc1f5df59795 100644 (file)
--- a/init.php
+++ b/init.php
@@ -2,22 +2,36 @@
 
 session_start();
 
+
 # timezone
 putenv('TZ=America/Los_Angeles');
 
+
 # include folders
 ini_set('include_path', dirname(realpath(__FILE__)));
 define('TMP_DIR', dirname(realpath(__FILE__)) .'/../tmp');
 
+
 # settings
 define('BASE_URL', 'example.com');
+$username_exceptions = array(
+       'tags',
+       'tag',
+       'about',
+       'help'
+);
+define('ALLOW_SIGNUP', true);
+
 
 # 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 );
 
+
 include 'data.php';
+include 'output.php';