[Openfirst-cvscommit] base/config first.php,1.6,1.7
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-27 13:44:41
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv17862 Modified Files: first.php Log Message: Add file system base path to generated globals.php to allow for easy inclusion of files from other modules. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** first.php 24 Jun 2003 02:30:44 -0000 1.6 --- first.php 27 Jun 2003 13:44:37 -0000 1.7 *************** *** 73,76 **** --- 73,77 ---- \$mailfrom = '" . $_POST["mailfrom"] . "'; \$basepath = '" . $_POST["basepath"] . "'; + \$fbasepath = '" . $_POST["fbasepath"] . "'; // Determine what module the user is viewing *************** *** 154,157 **** --- 155,162 ---- </td><td><input type="text" name="basepath" value="/openfirst"></td></tr> + <tr><td>The file system path to the basepath + (example: <strong>/home/openfirst/htdocs/openfirst</strong>) this should have a + trailing slash. + </td><td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td></tr> <tr><td></td><td><input type="submit" value="Set up OpenFIRST"></td></tr> </form> |