From: Darren S. <ds...@us...> - 2006-04-24 18:27:13
|
Update of /cvsroot/xine/xine_www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20053 Modified Files: framework.php Log Message: Plug holes. Index: framework.php =================================================================== RCS file: /cvsroot/xine/xine_www/framework.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- framework.php 22 Jul 2005 23:03:27 -0000 1.9 +++ framework.php 24 Apr 2006 18:27:02 -0000 1.10 @@ -1,5 +1,8 @@ <?php +if (strrchr ($_SERVER['SCRIPT_NAME'], '/') == '/framework.php') + exit (0); + include_once($include.'/menu_definition.inc.php'); include_once($include.'/template.inc.php'); |