mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-04 16:34:00 +01:00
49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<?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
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
define("BASE_PATH", "/path/to/codiad");
|
|
define("COMPONENTS",BASE_PATH . "/components");
|
|
define("PLUGINS",BASE_PATH . "/plugins");
|
|
define("THEMES",BASE_PATH . "/themes");
|
|
define("DATA",BASE_PATH . "/data");
|
|
define("WORKSPACE",BASE_PATH . "/workspace");
|
|
define("WSURL",$_SERVER["HTTP_HOST"] . "/workspace");
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
// THEME
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
define("THEME", "default");
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
// ABSOLUTE PATH
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
define("WHITEPATHS", BASE_PATH . ",/home");
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
// SESSIONS
|
|
//
|
|
// $cookie_lifetime Default 0 e.g. 7200
|
|
// $cookie_path Default / e.g. /codiad
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
$cookie_lifetime = "0";
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
// TIMEZONE
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
date_default_timezone_set("America/Chicago");
|
|
|
|
?>
|