[Openfirst-cvscommit] news index.php,1.8,1.9 rssfeed.php,1.2,1.3
Brought to you by:
xtimg
From: <xt...@us...> - 2003-10-13 17:59:46
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv29971 Modified Files: index.php rssfeed.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/news/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 1 Oct 2003 22:55:10 -0000 1.8 --- index.php 13 Oct 2003 17:59:42 -0000 1.9 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <h2>Top Headlines</h2> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h2>Top Headlines</h2> *************** *** 44,47 **** [ <a href="index.php?show=all">Show All News</a> ] <?php ! include($footer); ?> --- 44,47 ---- [ <a href="index.php?show=all">Show All News</a> ] <?php ! include_once($footer); ?> Index: rssfeed.php =================================================================== RCS file: /cvsroot/openfirst/news/rssfeed.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rssfeed.php 30 Sep 2003 12:00:19 -0000 1.2 --- rssfeed.php 13 Oct 2003 17:59:42 -0000 1.3 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <h2>RSS Feed Option</h2> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h2>RSS Feed Option</h2> *************** *** 89,92 **** </p> <?php ! include($footer); ?> --- 89,92 ---- </p> <?php ! include_once($footer); ?> |