1+ <?php
2+ /*
3+ * Copyright (c) Codiad & Kent Safranski (codiad.com), distributed
4+ * as-is and without warranty under the MIT License. See
5+ * [root]/license.txt for more. This information must remain intact.
6+ */
7+ //////////////////////////////////////////////////////////////////
8+ // CONFIG
9+ //////////////////////////////////////////////////////////////////
10+ // PATH TO CODIAD
11+ define ("BASE_PATH " , "/config/www/ " );
12+ // BASE URL TO CODIAD (without trailing slash)
13+ define ("BASE_URL " , "localhost " );
14+ // THEME : default, modern or clear (look at /themes)
15+ define ("THEME " , "default " );
16+ // ABSOLUTE PATH, this is used as whitelist for absolute path projects
17+ define ("WHITEPATHS " , BASE_PATH . ",/home,/ " );
18+ // SESSIONS (e.g. 7200)
19+ $ cookie_lifetime = "0 " ;
20+ // TIMEZONE
21+ date_default_timezone_set (getenv ('TZ ' ,'UTC ' ));
22+ // Allows to overwrite the default language
23+ //define("LANGUAGE", "en");
24+ // External Authentification
25+ //define("AUTH_PATH", "/path/to/customauth.php");
26+ //////////////////////////////////////////////////////////////////
27+ // ** DO NOT EDIT CONFIG BELOW **
28+ //////////////////////////////////////////////////////////////////
29+ // PATHS
30+ define ("COMPONENTS " , BASE_PATH . "/components " );
31+ define ("PLUGINS " , BASE_PATH . "/plugins " );
32+ define ("THEMES " , BASE_PATH . "/themes " );
33+ define ("DATA " , BASE_PATH . "/data " );
34+ define ("WORKSPACE " , getenv ('APP_CODE_PATH_CONTAINER ' ,BASE_PATH . "workspace " ));
35+ // URLS
36+ define ("WSURL " , getenv ('APP_CODE_PATH_CONTAINER ' ,BASE_PATH . "workspace " ));
37+ // Marketplace
38+ define ("MARKETURL " , "http://market.codiad.com/json " );
39+ // Update Check
40+ //define("UPDATEURL", "http://update.codiad.com/?v={VER}&o={OS}&p={PHP}&w={WEB}&a={ACT}");
41+ define ("ARCHIVEURL " , "https://github.com/Codiad/Codiad/archive/master.zip " );
42+ define ("COMMITURL " , "https://api.github.com/repos/Codiad/Codiad/commits " );
43+ ?>
0 commit comments