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='stats.openaire.eu';
|
13
|
$redis_remote_port= 6379;
|
14
|
|
15
|
$redis_remote_beta_host='beta.stats.openaire.eu';
|
16
|
$redis_remote_beta_port= 6379;
|
17
|
|
18
|
$workers=4;
|
19
|
|
20
|
//resultset size
|
21
|
$size = 30;
|
22
|
|
23
|
/*database*/
|
24
|
$type = 'postgres';
|
25
|
|
26
|
$schema_file = "/var/www/stats/openaire.xml";
|
27
|
|
28
|
$export_server = "https://test.openaire.eu/highcharts/";
|
29
|
$stats_server = "https://test.openaire.eu/stats/";
|
30
|
|
31
|
$db_name = "stats";
|
32
|
$username = "sqoop";
|
33
|
$password = "sqoop";
|
34
|
$host = "stats.openaire.eu";
|
35
|
|
36
|
#$username = "postgres";
|
37
|
#$password="vereniki";
|
38
|
#$host="194.177.192.118";
|
39
|
?>
|