[Openfirst-cvscommit] feedback/admin index.php,1.8,1.9
Brought to you by:
xtimg
From: <xt...@us...> - 2003-10-13 17:53:25
|
Update of /cvsroot/openfirst/feedback/admin In directory sc8-pr-cvs1:/tmp/cvs-serv28643/admin Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 28 Sep 2003 13:34:35 -0000 1.8 --- index.php 13 Oct 2003 17:53:21 -0000 1.9 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); if(isset($_POST["feedbackusers"])) { --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); if(isset($_POST["feedbackusers"])) { *************** *** 42,46 **** } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); ! die(include($footer)); } } --- 42,46 ---- } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); ! die(include_once($footer)); } } *************** *** 65,68 **** echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); ! include($footer); ?> --- 65,68 ---- echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); ! include_once($footer); ?> |