Files
Codiad/config.example.php
circuitbomb bfebc3ee21 Misc fixes
2013-04-08 14:48:13 -04:00

44 lines
1.3 KiB
PHP
Executable File

<?php
/*
* Copyright (c) Codiad & Kent Safranski (codiad.com), distributed
* as-is and without warranty under the MIT License. See
* [root]/license.txt for more. This information must remain intact.
*/
//////////////////////////////////////////////////////////////////
// PATH
//////////////////////////////////////////////////////////////////
$rel = "/";
define("BASE_PATH",$_SERVER["DOCUMENT_ROOT"] . $rel);
define("COMPONENTS",BASE_PATH . "/components");
define("THEMES",BASE_PATH . "/themes");
define("DATA",BASE_PATH . "/data");
define("WORKSPACE",BASE_PATH . "/workspace");
define("WSURL",$_SERVER["HTTP_HOST"] . $rel . "/workspace");
//////////////////////////////////////////////////////////////////
// THEME
//////////////////////////////////////////////////////////////////
define("THEME", "default");
//////////////////////////////////////////////////////////////////
// SESSIONS
//
// $cookie_lifetime Default 0 e.g. 7200
// $cookie_path Default / e.g. /codiad
//////////////////////////////////////////////////////////////////
$cookie_lifetime = "0";
$cookie_path = "/";
//////////////////////////////////////////////////////////////////
// TIMEZONE
//////////////////////////////////////////////////////////////////
date_default_timezone_set("America/Chicago");
?>