From: <mo...@us...> - 2004-03-29 21:38:33
|
Update of /cvsroot/tikiwiki/tiki/lib/charts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26872/lib/charts Modified Files: chartlib.php Log Message: Security merge from BRANCH to HEAD Index: chartlib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/charts/chartlib.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- chartlib.php 27 Mar 2004 21:24:11 -0000 1.16 +++ chartlib.php 29 Mar 2004 21:26:32 -0000 1.17 @@ -2,7 +2,7 @@ //this script may only be included - so its better to die if called directly. if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) { - die("This script cannot be called directly"); + header("location: index.php"); } class ChartLib extends TikiLib { |