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='';
|
13
|
$redis_remote_port= 6379;
|
14
|
|
15
|
|
16
|
$redis_remote_beta_host='beta.stats.openaire.eu';
|
17
|
$redis_remote_beta_port= 6379;
|
18
|
|
19
|
|
20
|
//resultset size
|
21
|
$size = 30;
|
22
|
|
23
|
/*database*/
|
24
|
$type = 'postgres';
|
25
|
|
26
|
##$db_name = "stats";
|
27
|
##$username = "sqoop";
|
28
|
##$password = "sqoop";
|
29
|
##$host = "stats.openaire.eu";
|
30
|
$schema_file = "/var/www/stats/openaire.xml";
|
31
|
|
32
|
|
33
|
$export_server = "https://new.openaire.eu/highcharts/";
|
34
|
$stats_server = "https://new.openaire.eu/stats/";
|
35
|
|
36
|
|
37
|
|
38
|
$db_name = "stats";
|
39
|
$username = "sqoop";
|
40
|
$password = "sqoop";
|
41
|
//$host = "194.177.192.119";
|
42
|
|
43
|
|
44
|
//$username = "dnet";
|
45
|
//$password = "dnetPwd";
|
46
|
$host = "beta.stats.openaire.eu";
|
47
|
|
48
|
#$schema_file = "/var/www/stats/openaire.xml";
|
49
|
|
50
|
|
51
|
|
52
|
|
53
|
#$export_server = "https://www.openaire.eu/highcharts/";
|
54
|
#$stats_server = "https://www.openaire.eu/stats/";
|
55
|
|
56
|
|
57
|
|
58
|
?>
|