11; Global Framework Config
22
33[SERVER]
4- SERVER_NAME = PATHFINDER
4+ SERVER_NAME = PATHFINDER
55
66[globals]
7- ; Default Verbosity level of the stack trace.
8- ; Assign values between 0 to 3 for increasing verbosity levels. Check (environment.ini) config for overwriting
9- ; (default: 0)
10- DEBUG = 0
11-
12- ; If TRUE, the framework, after having logged stack trace and errors, stops execution
13- ; -> (die without any status) when a non-fatal error is detected. (default: FALSE)
14- HALT = FALSE
15-
16- ; Timezone to use. Sync program with eve server time. (default: UTC)
17- TZ = UTC
18-
19- ; Cache key prefix. Same for all cache values for this installation
20- ; CLI (cronjob) scripts use it for cache manipulation
21- SEED = {{ md5(@SERVER.SERVER_NAME) }}
22-
23- ; Cache backend. Can handle Redis, Memcache module, APC, WinCache, XCache and a filesystem-based cache.
24- ; (default: folder=tmp/cache/)
25- CACHE = folder =tmp/cache/
26- ; CACHE = redis=localhost:6379
27-
28- ; Cache backend used by Session handler.
29- ; default
30- ; -If CACHE is enabled (see above), the same location is used for Session data (e.g. fileCache, RedisDB)
31- ; mysql
32- ; - Session data get stored in your 'PathfinderDB' table 'sessions' (faster)
33- SESSION_CACHE = mysql
7+ ; Verbosity level of error stack trace for errors
8+ ; This affects error logging and stack traces returned to clients on error.
9+ ; DEBUG level can be overwritten in environment.ini
10+ ; Syntax: 0 | 1 | 2 | 3
11+ ; Default: 0
12+ DEBUG = 0
13+
14+ ; How to behave on 'non-fatal' errors
15+ ; If TRUE, the framework, after having logged stack trace and errors, stops execution
16+ ; (die without any status) when a non-fatal error is detected.
17+ ; Tip: You should not change this.
18+ ; Syntax: TRUE | FALSE
19+ ; Default: FALSE
20+ HALT = FALSE
21+
22+ ; Timezone to use
23+ ; Sync Pathfinder with EVE server time.
24+ ; Tip: You should not change this.
25+ ; Default: UTC
26+ TZ = UTC
27+
28+ ; Default language
29+ ; Overwrites HTTP Accept-Language request header.
30+ ; Used by setlocale() and affects number formatting.
31+ ; Syntax: String
32+ ; Default: en-US
33+ LANGUAGE = en-US
34+
35+ ; Cache key prefix
36+ ; Same for all cache values for this installation.
37+ ; CLI (cronjob) scripts use it for cache manipulation.
38+ ; Tip: You should not change this.
39+ ; Syntax String
40+ ; Default: {{ md5(@SERVER.SERVER_NAME) }}
41+ SEED = {{ md5(@SERVER.SERVER_NAME) }}
42+
43+ ; Cache backend
44+ ; Can handle Redis, Memcache module, APC, WinCache, XCache and a filesystem-based cache.
45+ ; Tip: Redis is recommended and gives the best performance.
46+ ; Syntax: folder=[DIR] | redis=[SERVER]
47+ ; Default: folder=tmp/cache/
48+ ; Value: folder=[DIR]
49+ ; - Cache data is stored on disc
50+ ; redis=[SERVER]
51+ ; - Cache data is stored in Redis (e.g. redis=localhost:6379)
52+ CACHE = folder =tmp/cache/
53+
54+ ; Cache backend used by PHPs Session handler.
55+ ; Tip1: Best performance and recommended configuration for Pathfinder is to configured Redis as PHPs default Session handler
56+ ; in your php.ini and set 'default' value here in order to use Redis (fastest)
57+ ; Tip2: If Redis is not available for you, leave this at 'mysql' (faster than PHPs default files bases Sessions)
58+ ; Syntax: mysql | default
59+ ; Default: mysql
60+ ; Value: mysql
61+ ; - Session data get stored in 'pathfinder'.'sessions' table (environment.ini → DB_PF_NAME).
62+ ; Table `sessions` is auto created if not exist.
63+ ; default
64+ ; - Session data get stored in PHPs default Session handler (php.ini → session.save_handler and session.save_path)
65+ ; PHPs default session.save_handler is `files` and each Session is written to disc (slowest)
66+ SESSION_CACHE = mysql
3467
3568; Callback functions ==============================================================================
36- ONERROR = Controller\Controller->showError
37- UNLOAD = Controller\Controller->unload
69+ ONERROR = Controller\Controller->showError
70+ UNLOAD = Controller\Controller->unload
3871
3972; Path configurations =============================================================================
40- ; relative to "BASE" dir
41-
42- ; Temporary folder for cache, filesystem locks, compiled F3 templates, etc. (default: tmp/)
43- TEMP = tmp/
44-
45- ; Log file folder. (default: logs/)
46- LOGS = logs/
47-
48- ; UI/template folder. (default: public/)
49- UI = public/
50-
51- ; Autoloader for user-defined PHP classes that the framework will attempt to autoload at runtime. (default: app/main/)
52- AUTOLOAD = app/main/
53-
54- ; Favicons. (default: favicon/)
55- FAVICON = favicon/
56-
57- ; Export folder (e.g. static table data). (default: export/)
58- EXPORT = export/
59-
60- ; Default language (overwrites HTTP Accept-Language request header) used for "setlocale()" affects number formatting. (default: en-US)
61- LANGUAGE = en-US
62-
63- ; custom *.ini file folder, can be used to overwrite default *.ini files
64- CONF.CUSTOM = conf/
65- CONF.DEFAULT = app/
66-
67- ; load additional config files
68- ; DO NOT load environment.ini, it is loaded automatically
73+ ; All path configurations are relative to BASE dir and should NOT be changed
74+
75+ ; Temporary folder for cache
76+ ; Used for compiled templates.
77+ ; Syntax: [DIR]
78+ ; Default: tmp/
79+ TEMP = tmp/
80+
81+ ; Log file folder
82+ ; Syntax: [DIR]
83+ ; Default: logs/
84+ LOGS = logs/
85+
86+ ; UI folder
87+ ; Where all the public assets (templates, images, styles, scripts) are located.
88+ ; Syntax: [DIR]
89+ ; Default: public/
90+ UI = public/
91+
92+ ; Autoload folder
93+ ; Where PHP attempts to autoload PHP classes at runtime.
94+ ; Syntax: [DIR]
95+ ; Default: app/main/
96+ AUTOLOAD = app/main/
97+
98+ ; Favicon folder
99+ ; Syntax: [DIR]
100+ ; Default: favicon/
101+ FAVICON = favicon/
102+
103+ ; Export folder
104+ ; Where DB dump files are located/created at.
105+ ; Syntax: [DIR]
106+ ; Default: export/
107+ EXPORT = export/
108+
109+ ; Custom *.ini file folder
110+ ; Can be used to overwrite default *.ini files and settings
111+ ; See: https://github.com/exodus4d/pathfinder/wiki/Configuration#custom-confpathfinderini
112+ ; Syntax: [DIR]
113+ CONF.CUSTOM = conf/
114+ CONF.DEFAULT = app/
115+
116+ ; Load additional config files
117+ ; DO NOT load environment.ini, it is loaded automatically
69118[configs]
70- {{@CONF.DEFAULT}}routes.ini = true
71- {{@CONF.DEFAULT}}pathfinder.ini = true
72- {{@CONF.CUSTOM}}pathfinder.ini = true
73- {{@CONF.DEFAULT}}requirements.ini = true
74- {{@CONF.DEFAULT}}cron.ini = true
119+ {{@CONF.DEFAULT}}routes.ini = true
120+ {{@CONF.DEFAULT}}pathfinder.ini = true
121+ {{@CONF.CUSTOM}}pathfinder.ini = true
122+ {{@CONF.DEFAULT}}requirements.ini = true
123+ {{@CONF.DEFAULT}}cron.ini = true
0 commit comments