-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.php.sample
37 lines (24 loc) · 1.4 KB
/
conf.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
// define the environment as 'development', 'production', 'testing'
defined("ENVIRONMENT") || define("ENVIRONMENT", "development");
// root directory
defined("ROOT") || define("ROOT", dirname(__DIR__));
// Upload directory for API calls, without trailing slash
defined("MAPPR_UPLOAD_DIRECTORY") || define("MAPPR_UPLOAD_DIRECTORY", dirname(__DIR__)."/uploads");
// Domain from where images will be served served, without a trailing slash
defined("MAPPR_MAPS_URL") || define("MAPPR_MAPS_URL", "http://img.simplemappr.local");
// Domain for setting cookies in sessions
defined("MAPPR_URL") || define("MAPPR_URL", "http://www.simplemappr.local");
// Number of textarea boxes for user data entry
defined("NUMTEXTAREA") || define("NUMTEXTAREA", 3);
// Maximum number of texteara boxes for user entry
defined("MAXNUMTEXTAREA") || define("MAXNUMTEXTAREA", 10);
// Google Analytics UA-XXXXXX-XX key
defined("GOOGLE_ANALYTICS") || define("GOOGLE_ANALYTICS", "UA-XXXXXX-10");
// Private RPX_KEY for OpenID client login that can be obtained at https://rpxnow.com/
defined("RPX_KEY") || define("RPX_KEY", "");
// Cloudflare
defined("CLOUDFLARE_KEY") || define("CLOUDFLARE_KEY", "");
defined("CLOUDFLARE_DOMAIN") || define("CLOUDFLARE_DOMAIN", "");
defined("CLOUDFLARE_EMAIL") || define("CLOUDFLARE_EMAIL", "");
defined("COOKIE_TIMEOUT") || define("COOKIE_TIMEOUT", time() + (2 * 7 * 24 * 60 * 60)); //two week cookie lifetime