[Openfirst-cvscommit] base/config first.php,1.58,1.59
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-05-16 22:59:22
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14273/config Modified Files: first.php Log Message: Messages, include_once() Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** first.php 16 May 2005 22:01:35 -0000 1.58 --- first.php 16 May 2005 22:58:27 -0000 1.59 *************** *** 108,113 **** $hfile = fopen("./$ConfigFile",'w'); fwrite($hfile, $file); fclose($hfile); ! include("../config/globals.php"); ! include("$header"); echo("<h1>openFIRST Software Configured</h1> <p>If this page does not display errors elsewhere, then your openFIRST has now been successfully --- 108,113 ---- $hfile = fopen("./$ConfigFile",'w'); fwrite($hfile, $file); fclose($hfile); ! include_once("../config/globals.php"); ! include_once("$header"); echo("<h1>openFIRST Software Configured</h1> <p>If this page does not display errors elsewhere, then your openFIRST has now been successfully *************** *** 118,129 **** the password for that account has been changed, or the MySQL settings are incorrect.</p>"); showlogin(); ! die(include("$footer")); } else { echo '<p class="error"><span class="file">'.htmlentities($ConfigFile).'</span> is not writable</p> '; if(is_readable("config/headers.php")) { ! include("config/headers.php"); } else { ! include("../config/headers.php"); } echo("<h1 class=\"error\">System Configuration Error</h1> --- 118,129 ---- the password for that account has been changed, or the MySQL settings are incorrect.</p>"); showlogin(); ! die(include_once("$footer")); } else { echo '<p class="error"><span class="file">'.htmlentities($ConfigFile).'</span> is not writable</p> '; if(is_readable("config/headers.php")) { ! include_once("config/headers.php"); } else { ! include_once("../config/headers.php"); } echo("<h1 class=\"error\">System Configuration Error</h1> *************** *** 140,146 **** // Do form if(is_readable("config/headers.php")) { ! include("config/headers.php"); } else { ! include("../config/headers.php"); } --- 140,146 ---- // Do form if(is_readable("config/headers.php")) { ! include_once("config/headers.php"); } else { ! include_once("../config/headers.php"); } *************** *** 173,177 **** <div class="center"> <h1>Base Configuration</h1> ! <p class="center" style="max-width: 50em;">Congratulations on your choice of openFIRST software! Please proceed through this setup wizard to get your new openFIRST portal software set up and working quickly and painlessly. Also please make sure that before installing this script --- 173,177 ---- <div class="center"> <h1>Base Configuration</h1> ! <p class="center" style="max-width: 50em;">Congratulations for choosing openFIRST! Please proceed through this setup wizard to get your new openFIRST portal software set up and working quickly and painlessly. Also please make sure that before installing this script *************** *** 257,261 **** <dt>eg, <code class="url"><strong>http://openfirst.sourceforge.net</strong>/openfirst</code></dt> <dd> ! <label for="basepath">file system base path</label> <input type="text" name="basepath" value="<?php echo htmlentities($basepath); ?>" /> <span class="warning">Must not have a trailing slash.</span> --- 257,261 ---- <dt>eg, <code class="url"><strong>http://openfirst.sourceforge.net</strong>/openfirst</code></dt> <dd> ! <label for="basepath">URL base path</label> <input type="text" name="basepath" value="<?php echo htmlentities($basepath); ?>" /> <span class="warning">Must not have a trailing slash.</span> *************** *** 265,269 **** </dt> <dd> ! <label for="fbasepath">The file system path</label> <input type="text" name="fbasepath" value="<?php echo htmlentities($fbasepath); ?>" /> <span class="warning">Must not have a trailing slash.</span> --- 265,269 ---- </dt> <dd> ! <label for="fbasepath">File system path</label> <input type="text" name="fbasepath" value="<?php echo htmlentities($fbasepath); ?>" /> <span class="warning">Must not have a trailing slash.</span> *************** *** 323,329 **** } if(is_readable("config/footers.php")) { ! include("config/footers.php"); } else { ! include("../config/footers.php"); } ?> --- 323,329 ---- } if(is_readable("config/footers.php")) { ! include_once("config/footers.php"); } else { ! include_once("../config/footers.php"); } ?> |