[Openfirst-cvscommit] awards/admin index.php,1.9,1.10
Brought to you by:
xtimg
From: <xt...@us...> - 2003-10-13 17:51:20
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv27926/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/awards/admin/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 13 Sep 2003 16:41:26 -0000 1.9 --- index.php 13 Oct 2003 17:51:13 -0000 1.10 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); // Check if user is an admin then allow processes --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); // Check if user is an admin then allow processes *************** *** 37,41 **** echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 37,41 ---- echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 48,52 **** echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 48,52 ---- echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 62,66 **** echo("<p></p>Award modifications submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 62,66 ---- echo("<p></p>Award modifications submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 180,183 **** showlogin(); } ! include($footer); ?> --- 180,183 ---- showlogin(); } ! include_once($footer); ?> |