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
|
//resultset size
|
13
|
$size = 30;
|
14
|
|
15
|
/*database*/
|
16
|
$type = 'postgres';
|
17
|
$db_name = "stats";
|
18
|
//for deployment
|
19
|
//$username = "dnet";
|
20
|
//$password = "dnetPwd";
|
21
|
//for testing
|
22
|
$username = "sqoop";
|
23
|
$password = "sqoop";
|
24
|
#$host = "node1.t.openaire.research-infrastructures.eu";
|
25
|
$host = "duffy.di.uoa.gr";
|
26
|
#$host = "stats.openaire.eu";
|
27
|
$schema_file = "/var/www/stats/openaire.xml";
|
28
|
$export_server = "https://www.test.openaire.eu/highcharts/";
|
29
|
// for deployment
|
30
|
$stats_server = "https://www.test.openaire.eu/stats/";
|
31
|
//for testing
|
32
|
//$stats_server = "https://test.openaire.eu/stats/";
|
33
|
?>
|