Variables | |
$GLOBALS ['config'] = [] | |
$GLOBALS ['environment'] ='devel' | |
$GLOBALS ['config']['temporal_path'] = '/var/www/html/wicom-qdod/run/' | |
$GLOBALS ['config']['sparqldl_api_path'] = '/var/www/html/wicom-qdod/run/sparql-dl-api/target/' | |
$GLOBALS ['config']['racer_path'] = $GLOBALS['config']['temporal_path'] | |
$GLOBALS ['config']['konclude_path'] = $GLOBALS['config']['temporal_path'] | |
$GLOBALS ['config']['sparqldl_path'] = $GLOBALS['config']['sparqldl_api_path'] | |
$GLOBALS ['config']['widoco_path'] = $GLOBALS['config']['temporal_path'] | |
Database Configuration. | |
$GLOBALS ['config']['db']['host'] = '127.0.0.1' | |
$GLOBALS ['config']['db']['user'] = 'root' | |
$GLOBALS ['config']['db']['password'] = 'CrwD.4957' | |
$GLOBALS ['config']['db']['database'] = 'crowd' | |
$GLOBALS ['config']['db']['charset'] = 'utf8' | |
$GLOBALS['config'] = [] |
$GLOBALS['environment'] ='devel' |
What kind of environment is this? 'devel' : Development. Non-minimal CSS and JS libraries and PHP code with information return. 'prod' : Production. Minimal CSS and JS libraries and PHP without development output.
$GLOBALS['config']['temporal_path'] = '/var/www/html/wicom-qdod/run/' |
Where I can store temporary files?
For executing Racer, I need to store the OWLlink file, where I should do this?
Remember: Apache (represented as httpd, apache or www-data user in some systems) should have write perms there.
$GLOBALS['config']['sparqldl_api_path'] = '/var/www/html/wicom-qdod/run/sparql-dl-api/target/' |
$GLOBALS['config']['racer_path'] = $GLOBALS['config']['temporal_path'] |
Where is the reasoner?
By default we provide a Racer and a konclude program inside the temporal_path (at wicom/run/), but if you want to use another program you have to set this value with the path.
$GLOBALS['config']['konclude_path'] = $GLOBALS['config']['temporal_path'] |
$GLOBALS['config']['sparqldl_path'] = $GLOBALS['config']['sparqldl_api_path'] |
$GLOBALS['config']['widoco_path'] = $GLOBALS['config']['temporal_path'] |
$GLOBALS['config']['db']['host'] = '127.0.0.1' |
Database host.
For specify the port use "HOST:PORT".
Example: localhost:3000
$GLOBALS['config']['db']['user'] = 'root' |
Database user name.
$GLOBALS['config']['db']['password'] = 'CrwD.4957' |
Database password
$GLOBALS['config']['db']['database'] = 'crowd' |
Database name.
$GLOBALS['config']['db']['charset'] = 'utf8' |