/[libdata]/branches/pear-db/include/global_vars.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/pear-db/include/global_vars.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/global_vars.php revision 29 by dpavlin, Thu Mar 4 21:02:31 2004 UTC branches/pear-db/global_vars.php revision 50 by dpavlin, Fri Mar 5 22:38:33 2004 UTC
# Line 9  Modified By: Paul F. Bramscher <brams006 Line 9  Modified By: Paul F. Bramscher <brams006
9  */  */
10    
11  // General globals  // General globals
12  $GLOBAL_SYS_NAME                = "LibData (v1.04)";  $GLOBAL_SYS_NAME                = "LibData (v1.04-pear-db)";
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    
# Line 35  $GLOBAL_ADMIN_FOOTER           = "include/libdata Line 35  $GLOBAL_ADMIN_FOOTER           = "include/libdata
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    } elseif (stristr($host, 'my')) {
42            include_once("xx_mysql.php");
43            $GLOBAL_SYS_NAME .= " [mysql]";
44    } else {
45            include_once("xx_pear_db.php");
46            $GLOBAL_SYS_NAME .= " [pear-db]";
47    }
48    
49  ?>  ?>

Legend:
Removed from v.29  
changed lines
  Added in v.50

  ViewVC Help
Powered by ViewVC 1.1.26