2018-07-13 18:39:55 +02:00
|
|
|
<?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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
// CONFIG
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// PATH TO CODIAD
|
|
|
|
define("BASE_PATH", "absolute/path/to/codiad");
|
|
|
|
|
|
|
|
// BASE URL TO CODIAD (without trailing slash)
|
|
|
|
define("BASE_URL", "domain.tld");
|
|
|
|
|
|
|
|
// THEME : default, modern or clear (look at /themes)
|
|
|
|
define("THEME", "default");
|
|
|
|
|
|
|
|
// ABSOLUTE PATH, this is used as whitelist for absolute path projects
|
|
|
|
define("WHITEPATHS", BASE_PATH . ",/home");
|
|
|
|
|
|
|
|
// SESSIONS (e.g. 7200)
|
|
|
|
$cookie_lifetime = "0";
|
|
|
|
|
|
|
|
// TIMEZONE
|
|
|
|
date_default_timezone_set("America/Chicago");
|
|
|
|
|
|
|
|
// Allows to overwrite the default language
|
|
|
|
//define("LANGUAGE", "en");
|
|
|
|
|
|
|
|
// External Authentification
|
|
|
|
//define("AUTH_PATH", "/path/to/customauth.php");
|
|
|
|
|
2018-07-25 14:56:41 +02:00
|
|
|
// Site Name
|
2018-07-27 19:59:08 +02:00
|
|
|
define("SITE_NAME", "Codiad");
|
2018-07-25 14:56:41 +02:00
|
|
|
|
2018-07-13 18:39:55 +02:00
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
// ** DO NOT EDIT CONFIG BELOW **
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// PATHS
|
|
|
|
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");
|
|
|
|
|
|
|
|
// URLS
|
|
|
|
define("WSURL", BASE_URL . "/workspace");
|
|
|
|
|
|
|
|
// Marketplace
|
|
|
|
//define("MARKETURL", "http://market.codiad.com/json");
|
|
|
|
|
|
|
|
?>
|