From: Gabriel Dunne Date: Tue, 21 Feb 2012 08:03:40 +0000 (-0800) Subject: Updated Init to have ALLOW_SIGNUP X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=0f324ab8cc9540d8f9a82fc224431ab529e0dc01;p=clmpr.git Updated Init to have ALLOW_SIGNUP --- 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';