1
|
<?php
|
2
|
$head = "/var/www/stats/";
|
3
|
/*needed files*/
|
4
|
$error_handler = $head."error_handler.php";
|
5
|
$help_functions = $head."help_functions.php";
|
6
|
$model_logger = './js/log4php';
|
7
|
|
8
|
$redis_host = 'localhost';
|
9
|
$redis_port = 6379;
|
10
|
$redis_scheme = 'tcp';
|
11
|
|
12
|
$redis_remote_host='openaire.eu';
|
13
|
$redis_remote_port= 6379;
|
14
|
|
15
|
$redis_remote_beta_host='beta.openaire.eu';
|
16
|
$redis_remote_beta_port= 6379;
|
17
|
|
18
|
//resultset size
|
19
|
$size = 30;
|
20
|
|
21
|
/*database*/
|
22
|
$type = 'postgres';
|
23
|
|
24
|
##$db_name = "stats";
|
25
|
##$username = "sqoop";
|
26
|
##$password = "sqoop";
|
27
|
##$host = "stats.openaire.eu";
|
28
|
$schema_file = "/var/www/stats/openaire.xml";
|
29
|
|
30
|
|
31
|
$export_server = "https://test.openaire.eu/highcharts/";
|
32
|
$stats_server = "https://test.openaire.eu/stats/";
|
33
|
|
34
|
|
35
|
|
36
|
|
37
|
$db_name = "stats";
|
38
|
$username = "sqoop";
|
39
|
$password = "sqoop";
|
40
|
$host = "stats.openaire.eu";
|
41
|
|
42
|
//$username = "dnet";
|
43
|
//$password = "dnetPwd";
|
44
|
//$host = "localhost";
|
45
|
#$schema_file = "/var/www/stats/openaire.xml";
|
46
|
|
47
|
|
48
|
|
49
|
|
50
|
#$export_server = "https://www.openaire.eu/highcharts/";
|
51
|
#$stats_server = "https://www.openaire.eu/stats/";
|
52
|
|
53
|
|
54
|
|
55
|
?>
|