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