9 |
*/ |
*/ |
10 |
|
|
11 |
// General globals |
// General globals |
12 |
$GLOBAL_SYS_NAME = "LibData (v1.04)"; |
$GLOBAL_SYS_NAME = "LibData (v1.04-xx)"; |
13 |
$GLOBAL_ADMIN_NAME = "System Administrator"; |
$GLOBAL_ADMIN_NAME = "Dobrica Pavlinusic"; |
14 |
$GLOBAL_ADMIN_EMAIL = "libdata@knjiznice.ffzg.hr"; |
$GLOBAL_ADMIN_EMAIL = "dpavlin@mjesec.ffzg.hr"; |
15 |
|
|
16 |
$host = $_SERVER["HTTP_HOST"]; |
$host = $_SERVER["HTTP_HOST"]; |
17 |
|
|
35 |
// ini_set("error_reporting", E_ALL); |
// ini_set("error_reporting", E_ALL); |
36 |
// ini_set("display_errors", "1"); |
// ini_set("display_errors", "1"); |
37 |
|
|
38 |
|
if (stristr($host, 'pg')) { |
39 |
|
include_once("xx_pgsql.php"); |
40 |
|
$GLOBAL_SYS_NAME .= " [pgsql]"; |
41 |
|
} else { |
42 |
|
include_once("xx_mysql.php"); |
43 |
|
$GLOBAL_SYS_NAME .= " [mysql]"; |
44 |
|
} |
45 |
|
|
46 |
?> |
?> |