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
|
|
18
|
$db_name = "stats";
|
19
|
//for deployment
|
20
|
//$username = "dnet";
|
21
|
//$password = "dnetPwd";
|
22
|
//for testing
|
23
|
$username = "sqoop";
|
24
|
$password = "sqoop";
|
25
|
#$host = "node1.t.openaire.research-infrastructures.eu";
|
26
|
$host = "duffy.di.uoa.gr";
|
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
|
?>
|