/[libdata]/trunk/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

Annotation of /trunk/global_vars.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72 - (hide annotations)
Thu Mar 18 20:33:37 2004 UTC (20 years, 1 month ago) by dpavlin
File size: 1314 byte(s)
changes made in version 2.00

1 dpavlin 29 <?php
2     /*
3     Following are global scope parameters for the LibData system.
4    
5     File name: global_vars.php
6     Institution: University of Minnesota
7     Last Modified: January 28, 2003
8     Modified By: Paul F. Bramscher <brams006@umn.edu>
9     */
10    
11     // General globals
12 dpavlin 72 $GLOBAL_SYS_NAME = "LibData (v2.0-xx)";
13     $GLOBAL_ADMIN_NAME = "System Administrator";
14     $GLOBAL_ADMIN_EMAIL = "admin@yourlibrary.edu";
15 dpavlin 29
16     $host = $_SERVER["HTTP_HOST"];
17    
18     // URL path information
19     $GLOBAL_RQS_URL = "http://$host/";
20     $GLOBAL_SCRIBE_URL = "http://$host/";
21     $GLOBAL_PUBLIC_URL = "http://$host/";
22     $GLOBAL_ADMIN_URL = "http://$host/admin/";
23     $GLOBAL_AUTH_URL = "http://$host/admin/login.phtml";
24     $GLOBAL_NO_ACCESS = "no_access.phtml";
25    
26     // Admininistrative include directory
27     $GLOBAL_ADMIN_INC = "include/";
28    
29     // Header/footer/CSS
30     $GLOBAL_ADMIN_CSS = "include/libdata.css";
31     $GLOBAL_ADMIN_HEADER = "include/libdata_header.phtml";
32     $GLOBAL_ADMIN_FOOTER = "include/libdata_footer.phtml";
33    
34     // Debugging PHP
35     // ini_set("error_reporting", E_ALL);
36     // ini_set("display_errors", "1");
37    
38 dpavlin 42 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 dpavlin 29 ?>

  ViewVC Help
Powered by ViewVC 1.1.26