forked from NatLibFi/Skosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.dist
68 lines (48 loc) · 2.29 KB
/
config.inc.dist
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
// configuration for easyRDF
define("VOCABULARIES_FILE", "vocabularies.ttl");
// HTTP client configuration
define("HTTP_TIMEOUT", 5); // external HTTP request timeout in seconds
define("SPARQL_TIMEOUT", 20); // SPARQL HTTP request timeout in seconds
// interface languages available, and the corresponding system locales
$LANGUAGES = array(
'fi' => 'fi_FI.utf8',
'sv' => 'sv_SE.utf8',
'en' => 'en_GB.utf8'
);
// default SPARQL endpoint
// a local Fuseki server is usually on localhost:3030
define("DEFAULT_ENDPOINT", "http://localhost:3030/ds/sparql");
// how many results (maximum) to load at a time on the search results page
define("SEARCH_RESULTS_SIZE", 20);
// how many items (maximum) to retrieve in transitive property queries
define("DEFAULT_TRANSITIVE_LIMIT", 1000);
// a default location for Twig template rendering
define("TEMPLATE_CACHE", "/tmp/skosmos-template-cache");
// default sparql-query extension, or "Generic" for plain SPARQL 1.1
// set to "JenaText" instead if you use Fuseki with jena-text index
define("DEFAULT_SPARQL_DIALECT", "Generic");
// default email address to send the feedback
define("FEEDBACK_ADDRESS", "");
// email address to set as the envelope sender for feedback messages
define("FEEDBACK_ENVELOPE_SENDER", "");
// whether or not to log caught exceptions
define ("LOG_CAUGHT_EXCEPTIONS", FALSE);
// set to TRUE to enable logging into browser console
define ("LOG_BROWSER_CONSOLE", FALSE);
// set to a logfile path to enable logging into log file
define ("LOG_FILE_NAME", NULL);
# customize the service name
define("SERVICE_NAME", "Skosmos");
// customize the css by adding your own stylesheet
define("CUSTOM_CSS", "resource/css/stylesheet.css");
// Customize the base element. Set this if the automatic base url detection doesn't work. For example setups behind a proxy.
// define("BASE_HREF", "http://localhost/Skosmos/");
// whether to display the ui language selection as a dropdown (useful for cases where there are more than 3 languages)
define("UI_LANGUAGE_DROPDOWN", FALSE);
// whether to enable the spam honey pot or not, enabled by default
define("UI_HONEYPOT_ENABLED", TRUE);
// default time a user must wait before submitting a form
define("UI_HONEYPOT_TIME", 5);
// whether to enable collation in sparql queries
define("SPARQL_COLLATION_ENABLED", FALSE);