/
config.php.template
executable file
·124 lines (103 loc) · 5.03 KB
/
config.php.template
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
/**
***********************************************************************************
* ATENÇÂO! Este arquivo deve ser editado utilizando o conjunto de caracteres UTF-8.
* Certifique-se de que o caractere a seguir esteja correto: "á"
***********************************************************************************
*/
/* Web Services configuration*/
define("SERVICES_PLATFORM_DOMAIN","http://vm.platserver");
define("SERVICES_PLATFORM_SERVER",SERVICES_PLATFORM_DOMAIN."/webservices");
/* Site configuration */
define("APP_BASEDIR",dirname(__FILE__)); /* app base dir ex. /home/servplat/htdocs */
define("COOKIE_DOMAIN_SCOPE",".bvssite.br"); /* begin with a 'dot' to include subdomains */
define("DEFAULT_SKIN","default");
define("CHARSET","utf-8");
define("DOCTYPE",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
define("VERSION","1.0.0");
define("ERROR_REPORTING",0);
define("USE_SERVER_PATH",false);
define('ENABLE_SCIELO_SSO',false); /* true if is a scielo instance */
define('ENABLE_SSO_LOGIN',true);
define("RELATIVE_PATH",""); /*if the app isnt installed at the root directory */
define("SITENAME","Minha BVS");
define("SITE_IDENTITY","ASK_YOURS_FOR_BIREME"); /*Bireme will give a SITE_IDENTITY
* to be configured in this attribute*/
define("HOME","/users/loginLDAP.php");
define("MAIN_PAGE","requestauth");
define("LOGOUT","");
$EscapeRedirectToHome = array(substr(HOME,(strrpos(HOME,'/'))+1),
'userData.php',
'userProfile.php',
'forgot.php'); /* escape from authentication */
define("DOCUMENTS_PER_PAGE","20"); /* pagination */
define("RSS_DOCUMENTS_PER_PAGE","20"); /* RSS pagination */
define("WIDGETS_ITEMS_LIMIT","5"); /* itens limit in widgets */
define("MY_SEARCHES_LIMIT","50"); /* itens limit in MongoDB (per user) */
define("SEARCH_RESULTS_LIMIT","10"); /* itens limit in Search Results */
define("BIR_ACCOUNTS_DOMAIN","https://accounts.bireme.org"); /* BIREME Accounts configuration */
define("VHL_SEARCH_PORTAL_DOMAIN","https://pesquisa.bvsalud.org");
define("EBLUEINFO_DOMAIN","https://sites.bvsalud.org/e-blueinfo");
define("BVS_COOKIE_DOMAIN","https://brasil.bvs.br");
define("MONGODB_SERVER","");
define("FI_ADMIN_EVENTS","https://fi-admin.data.bvsalud.org/api/event/search/?format=json"); /* FI-ADMIN Events API request */
define("FI_ADMIN_MULTIMEDIA","https://fi-admin.data.bvsalud.org/api/multimedia/search/?format=json"); /* FI-ADMIN Multimedia API request */
define("FI_ADMIN_OER","https://fi-admin.data.bvsalud.org/api/oer/search/?format=json"); /* FI-ADMIN OER API request */
define("OER_DOMAIN","https://pesquisa.bvsalud.org/cvsp"); /* BIREME Accounts configuration */
define("GOOGLE_SCHOLAR","https://scholar.google.com");
define("GOOGLE_SCHOLAR_WS",GOOGLE_SCHOLAR."/scholar?as_q=&as_epq=");
define("GOOGLE_ANALYTICS",array());
define("APP_GOOGLE_ANALYTICS",array());
define("DISABLE_REGISTER",false);
define("DISABLE_GOOGLE_AUTH",false);
define("DISABLE_FACEBOOK_AUTH",false);
/* Regular Expressions */
define("REGEXP_LANGUAGE","/^(pt|es|en)$/");
define("REGEXP_SKIN","/^(default)|(myvhl)|(scielo)|(regional)$/");
define("REGEXP_EMAIL","/^[a-z_][a-z0-9_\.]+@[a-z0-9]+(\.[a-z0-9_]+)+$/i");
/* MCRYPT */
define('CRYPT_PUBKEY','biremepublicckey'); /* public */
define('CRYPT_SEPARATOR','');
define('PRIVATE_KEY','');
define('INDEX_KEY','');
/* TRIGRAMAS */
define('DEFAULT_TRIGRAMAS_MODE','LILACS.orgiahx'); /* LILACS.orgiahx|SciELO.orgiahx */
/* log configuration */
$_conf = array('mode' => 0600, 'timeFormat' => '%X %x');
define('LOG_FILE',dirname(__FILE__).'/out.log');
/* language configuration */
define("DEFAULT_LANG","pt");
$languages = array(
'pt' => 'Português',
'es' => 'Español',
'en' => 'English'
);
/* feedback configuration */
define("FEEDBACK",false);
$survey = array(
"pt" => "https://docs.google.com/forms/d/e/1FAIpQLSe8BfqsPKXOwQZjwxzZKSoeu6pmHN0b8TjuoF1qWVKNFgrj_g/viewform",
"es" => "https://docs.google.com/forms/d/e/1FAIpQLSdfWaZIHpRXW_kLPnn1G4nh9aE2FvOkjWj11Qz5BBZCkXzY0Q/viewform",
"en" => "https://docs.google.com/forms/d/e/1FAIpQLSdAalFIuio31CNgcyaF_G39A0z0zEMjX7U3J60TrZx9Wez8rg/viewform"
);
$feedback_service = array(
'pt' => 'https://bvsalud.org/contate-nos/',
'es' => 'https://bvsalud.org/es/contactenos/',
'en' => 'https://bvsalud.org/en/contact_us/'
);
$my_vhl_playlist = array(
'pt' => 'https://www.youtube.com/watch?v=5lcfH3YDtBM&list=PLAJX3aLhb_SbaBae2JYo-QKXe5pNcEy1d&index=5',
'es' => 'https://www.youtube.com/watch?v=FV8g4k5iTs8&list=PLAJX3aLhb_SbaBae2JYo-QKXe5pNcEy1d&index=1',
'en' => 'https://www.youtube.com/watch?v=FV8g4k5iTs8&list=PLAJX3aLhb_SbaBae2JYo-QKXe5pNcEy1d&index=1'
);
$DIREVE = array(
'pt' => 'https://bvsalud.org/direve/',
'es' => 'https://bvsalud.org/es/direve/',
'en' => 'https://bvsalud.org/en/direve/'
);
$MULTIMEDIA = array(
'pt' => 'https://bvsalud.org/multimedia/',
'es' => 'https://bvsalud.org/es/multimedia/',
'en' => 'https://bvsalud.org/en/multimedia/'
);
?>