Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv5975
Modified Files:
first.php install.php
Log Message:
Attempt to autodetect some settings, repair minor directory path error.
Index: first.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/first.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** first.php 21 Jun 2003 21:05:45 -0000 1.4
--- first.php 23 Jun 2003 11:14:18 -0000 1.5
***************
*** 137,142 ****
<tr><td>Home site (the address scripts will use for linking to your main page)</td><td>
<input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr>
! <tr><td>Header file (this should be a full system path)</td><td><input type="text" name="header" value="headers.php" /></td></tr>
! <tr><td>Footer file (this should be a full system path)</td><td><input type="text" name="footer" value="footers.php" /></td></tr>
<tr><td>Mail Notification (the e-mail address used to notify you when significant events
occur)</td><td><input type="text" name="mailnotify" value="nobody@localhost"></td></tr>
--- 137,143 ----
<tr><td>Home site (the address scripts will use for linking to your main page)</td><td>
<input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr>
! <tr><td>Header file (this should be a full system path)</td><td><input type="text" name="header" value="<?php echo(getcwd()); ?>/headers.php" /></td></tr>
! <tr><td>Footer file (this should be a full system path)</td><td><input type="text" name="
! footer" value="<?php echo(getcwd()); ?>/footers.php" /></td></tr>
<tr><td>Mail Notification (the e-mail address used to notify you when significant events
occur)</td><td><input type="text" name="mailnotify" value="nobody@localhost"></td></tr>
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** install.php 22 Jun 2003 22:46:04 -0000 1.7
--- install.php 23 Jun 2003 11:14:19 -0000 1.8
***************
*** 45,49 ****
if(function_exists("glob")) {
! foreach (glob("../../*/setup/*.mysql") as $filename) {
$sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
$dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
--- 45,49 ----
if(function_exists("glob")) {
! foreach (glob("../*/setup/*.mysql") as $filename) {
$sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
$dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
|