From 0f324ab8cc9540d8f9a82fc224431ab529e0dc01 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Tue, 21 Feb 2012 00:03:40 -0800 Subject: [PATCH] Updated Init to have ALLOW_SIGNUP --- init.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/init.php b/init.php index 69c75e2..da617ab 100644 --- 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=;dbname="); define('DB_UNAME', ""); define('DB_PW', ""); + ini_set('display_errors', 1); error_reporting( E_ALL ); + include 'data.php'; +include 'output.php'; -- 2.34.1