forked from exodus4d/pathfinder
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new "Setup" routine for database bootstrapping (closes #6, closes…
- Loading branch information
Showing
151 changed files
with
5,093 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,39 @@ | ||
; Global Framework Config | ||
|
||
[globals] | ||
; Default Verbosity level of the stack trace. | ||
; Assign values between 0 to 3 for increasing verbosity levels. Check "PATHFINDER" config for overwriting | ||
DEBUG = 0 | ||
; Assign values between 0 to 3 for increasing verbosity levels. Check (environment.ini) config for overwriting | ||
DEBUG = 0 | ||
|
||
; If TRUE, the framework, after having logged stack trace and errors, stops execution (die without any status) when a non-fatal error is detected. | ||
HALT = FALSE | ||
; If TRUE, the framework, after having logged stack trace and errors, stops execution | ||
; -> (die without any status) when a non-fatal error is detected. | ||
HALT = FALSE | ||
|
||
; Timezone to use. Sync program with eve server time | ||
TZ = "UTC" | ||
TZ = UTC | ||
|
||
; Cache backend. Can handle Memcache module, APC, WinCache, XCache and a filesystem-based cache. | ||
CACHE = TRUE | ||
CACHE = TRUE | ||
|
||
; Callback functions =================================================================================== | ||
ONERROR = "Controller\Controller->showError" | ||
; Callback functions ============================================================================== | ||
ONERROR = Controller\Controller->showError | ||
|
||
UNLOAD = "Controller\Controller->unload" | ||
UNLOAD = Controller\Controller->unload | ||
|
||
; Path configurations ================================================================================== | ||
; Path configurations ============================================================================= | ||
; relative to "BASE" dir | ||
|
||
; Temporary folder for cache, filesystem locks, compiled F3 templates, etc. | ||
TEMP = tmp/ | ||
TEMP = tmp/ | ||
|
||
; Log file folder | ||
LOGS = logs/ | ||
LOGS = logs/ | ||
|
||
; Search path for user interface files used by the View and Template classes' render() method. | ||
UI = public/ | ||
UI = public/ | ||
|
||
; Search path(s) for user-defined PHP classes that the framework will attempt to autoload at runtime | ||
AUTOLOAD = app/main/ | ||
|
||
|
||
AUTOLOAD = app/main/ | ||
|
||
; path to favicons folder | ||
FAVICON = favicon/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
; Environment Config | ||
|
||
[ENVIRONMENT] | ||
; project environment (DEVELOP, PRODUCTION). | ||
; This effects: DB connection, Mail-Server connection | ||
; configuration below | ||
SERVER = DEVELOP | ||
|
||
[ENVIRONMENT.DEVELOP] | ||
;BASE = /pathfinder <= default: "auto-detect" | ||
; deployment URL e.g. http://localhost | ||
URL = http://pathfinder.local | ||
; Verbosity level of the stack trace | ||
DEBUG = 3 | ||
; main db | ||
DB_DNS = mysql:host=localhost;port=3306;dbname= | ||
DB_NAME = pathfinder_empty | ||
DB_USER = root | ||
DB_PASS = | ||
; EVE-Online CCP Database export | ||
DB_CCP_DNS = mysql:host=localhost;port=3306;dbname= | ||
DB_CCP_NAME = eve_parallax_min | ||
DB_CCP_USER = root | ||
DB_CCP_PASS = | ||
; SMTP settings | ||
SMTP_HOST = localhost | ||
SMTP_PORT = 25 | ||
SMTP_SCHEME = "" | ||
SMTP_USER = pathfinder | ||
SMTP_PASS = root | ||
SMTP_FROM = [email protected] | ||
SMTP_ERROR = [email protected] | ||
|
||
[ENVIRONMENT.PRODUCTION] | ||
BASE = /www/htdocs/w0128162/www.pathfinder.exodus4d.de | ||
; deployment URL | ||
URL = https://www.pathfinder.exodus4d.de | ||
; Verbosity level of the stack trace | ||
DEBUG = 0 | ||
; main db | ||
DB_DNS = mysql:host=localhost;port=3306;dbname= | ||
DB_NAME = | ||
DB_USER = | ||
DB_PASS = | ||
|
||
; EVE-Online CCP Database export | ||
DB_CCP_DNS = mysql:host=localhost;port=3306;dbname= | ||
DB_CCP_NAME = | ||
DB_CCP_USER = | ||
DB_CCP_PASS = | ||
|
||
; SMTP settings | ||
SMTP_HOST = localhost | ||
SMTP_PORT = 25 | ||
SMTP_SCHEME = TLS | ||
SMTP_USER = | ||
SMTP_PASS = | ||
|
||
SMTP_FROM = [email protected] | ||
SMTP_ERROR = [email protected] |
Oops, something went wrong.