Update of /cvsroot/meshdb//www/db2
In directory usw-pr-cvs1:/tmp/cvs-serv5639
Modified Files:
config.php
Added Files:
config-local.php-dist
Log Message:
change to using config-local.php as config file, and do not keep that file in the repository. instead, keep a "dist" file
--- NEW FILE: config-local.php-dist ---
<?
/* $Id: config-local.php-dist,v 1.1 2002/08/10 10:24:39 leonard Exp $ */
/*
* ========README=====README=====README======README======
* THIS FILE SHOULD BE RENAMED config-local.php AND THEN EDITED
* to suit your local setup.
* ========README=====README=====README======README======
*/
global $MYSQLHOST, $MYSQLUSER, $READONLY, $OURPROXY;
global $ZONE, $SHIFTFILE, $ALTFILE;
$MYSQLHOST = "host"; /* MySQL hostname */
$MYSQLUSER = "user"; /* MySQL username */
$READONLY = 0; /* Set to 1 for db maintennance */
$OURPROXY = "proxy"; /* an HTTP proxy host available to us */
$ZONE = 56; /* UTM zone (56 for Brisbane) */
$SHIFTFILE = "lib/QLD_0900.gsb";/* Shift file */
$ALTFILE = "lib/alt.desc"; /* Altitude file */
?>
Index: config.php
===================================================================
RCS file: /cvsroot/meshdb//www/db2/config.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- config.php 10 Aug 2002 03:33:24 -0000 1.1.1.1
+++ config.php 10 Aug 2002 10:24:39 -0000 1.2
@@ -1,21 +1,7 @@
<?
+ /* $Id$ */
- global $MYSQLHOST, $MYSQLUSER, $READONLY, $OURPROXY;
- global $ZONE, $SHIFTFILE, $ALTFILE;
-
- /* General config variables */
-
- $MYSQLHOST = "bo";
- $MYSQLUSER = "www";
-
- $READONLY = 0;
-
- $OURPROXY = "proxy"; /* http proxy host available to us */
-
- $ZONE = 56;
- $SHIFTFILE = "lib/QLD_0900.gsb";
- $ALTFILE = "lib/alt.desc";
-
+ include("config-local.php");
include("cookies.inc");
?>
|