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_host = 'duffy.di.uoa.gr';
|
10
|
|
11
|
//$redis_remote_host= 'duffy.di.uoa.gr';
|
12
|
$redis_remote_host= 'openaire.eu';
|
13
|
$redis_remote_port= 6379;
|
14
|
|
15
|
$redis_remote_beta_host= 'beta.stats.openaire.eu';
|
16
|
//$redis_remote_beta_host= 'duffy.di.uoa.gr';
|
17
|
$redis_remote_beta_port= 6379;
|
18
|
|
19
|
|
20
|
$redis_port = 6379;
|
21
|
$redis_scheme = 'tcp';
|
22
|
|
23
|
//resultset size
|
24
|
$size = 30;
|
25
|
|
26
|
/*database*/
|
27
|
$type = 'postgres';
|
28
|
$db_name = "stats";
|
29
|
|
30
|
$username = "sqoop";
|
31
|
$password = "sqoop";
|
32
|
|
33
|
|
34
|
|
35
|
#$host = "node1.t.openaire.research-infrastructures.eu";
|
36
|
|
37
|
$host = "beta.stats.openaire.eu";
|
38
|
//$beta_host= "beta.stats.openaire.eu";
|
39
|
|
40
|
//$host = "stats.openaire.eu";
|
41
|
$schema_file = "/var/www/stats/openaire.xml";
|
42
|
$export_server = "https://test.openaire.eu/highcharts/";
|
43
|
|
44
|
// for deployment
|
45
|
|
46
|
$stats_server = "https://test.openaire.eu/stats/";
|
47
|
|
48
|
//for testing
|
49
|
//$stats_server = "https://test.openaire.eu/stats/";
|
50
|
?>
|