Update of /cvsroot/openfirst/emoticon
In directory sc8-pr-cvs1:/tmp/cvs-serv28393
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/emoticon/index.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** index.php 13 Sep 2003 16:26:17 -0000 1.5
--- index.php 13 Oct 2003 17:52:29 -0000 1.6
***************
*** 26,31 ****
*
*/
! include("../config/globals.php");
! include($header);
if(function_exists("emoticon_preview")) {
if(! isset($_GET["perpage"])) { $_GET["perpage"] = 25; }
--- 26,31 ----
*
*/
! include_once("../config/globals.php");
! include_once($header);
if(function_exists("emoticon_preview")) {
if(! isset($_GET["perpage"])) { $_GET["perpage"] = 25; }
***************
*** 41,44 ****
echo("Emoticon functions are not enabled");
}
! include($footer);
?>
--- 41,44 ----
echo("Emoticon functions are not enabled");
}
! include_once($footer);
?>
|