Update of /cvsroot/openfirst/sidebars
In directory sc8-pr-cvs1:/tmp/cvs-serv30988
Modified Files:
index.php preview.php sidebar.php
Log Message:
Replace include() with include_once() where appropriate
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/sidebars/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.php 28 Sep 2003 13:01:02 -0000 1.4
--- index.php 23 Oct 2003 14:09:46 -0000 1.5
***************
*** 26,31 ****
*
*/
! include("../config/globals.php");
! include($header);
?>
<h1>Side Bars</h1>
--- 26,31 ----
*
*/
! include_once("../config/globals.php");
! include_once($header);
?>
<h1>Side Bars</h1>
***************
*** 91,93 ****
<br>
<?php
! include($footer); ?>
--- 91,93 ----
<br>
<?php
! include_once($footer); ?>
Index: preview.php
===================================================================
RCS file: /cvsroot/openfirst/sidebars/preview.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** preview.php 14 Sep 2003 22:44:08 -0000 1.2
--- preview.php 23 Oct 2003 14:09:46 -0000 1.3
***************
*** 26,31 ****
*
*/
! include("../config/globals.php");
! include($header);
if(isset($_GET["sidebar"]) == false) { $_GET["sidebar"] = ""; }
?>
--- 26,31 ----
*
*/
! include_once("../config/globals.php");
! include_once($header);
if(isset($_GET["sidebar"]) == false) { $_GET["sidebar"] = ""; }
?>
***************
*** 38,40 ****
style="width: 175px; height: 300px;" />
<?php
! include($footer); ?>
--- 38,40 ----
style="width: 175px; height: 300px;" />
<?php
! include_once($footer); ?>
Index: sidebar.php
===================================================================
RCS file: /cvsroot/openfirst/sidebars/sidebar.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sidebar.php 28 Sep 2003 13:01:02 -0000 1.5
--- sidebar.php 23 Oct 2003 14:09:46 -0000 1.6
***************
*** 26,30 ****
*
*/
! include("../config/globals.php");
header("Content-Type: text/html; charset=iso-8859-1");
--- 26,30 ----
*
*/
! include_once("../config/globals.php");
header("Content-Type: text/html; charset=iso-8859-1");
|