security fix

This commit is contained in:
seek3r 2000-12-05 04:08:50 +00:00
parent 888b35ddef
commit 86b37fa928
2 changed files with 11 additions and 2 deletions

View File

@ -12,6 +12,15 @@
/* $Id$ */ /* $Id$ */
/**************************************************************************\
* !!!!!!! DONT TOUCH THESE LINES !!!!!!!! *
* This flushes out any vars from the url for security reason *
\**************************************************************************/
$sec_clean = $phpgw_info["flags"]
$phpgw_info = array();
$phpgw_info["flags"] = $sec_clean;
unset ($sec_clean);
/**************************************************************************\ /**************************************************************************\
* !!!!!!! EDIT THESE LINES !!!!!!!! * * !!!!!!! EDIT THESE LINES !!!!!!!! *
* This setting allows you to easily move the include directory and the * * This setting allows you to easily move the include directory and the *
@ -63,7 +72,7 @@
* Do not edit these lines * * Do not edit these lines *
\**************************************************************************/ \**************************************************************************/
include($phpgw_info["server"]["server_root"]."/version.inc.php"); include($phpgw_info["server"]["server_root"]."/version.inc.php");
$phpgw_info["server"]["header_version"] = "1.4"; $phpgw_info["server"]["header_version"] = "1.5";
// This is a fix for NT // This is a fix for NT
if (!isset($phpgw_info["flags"]["noapi"]) || if (!isset($phpgw_info["flags"]["noapi"]) ||
!$phpgw_info["flags"]["noapi"] == True){ !$phpgw_info["flags"]["noapi"] == True){

View File

@ -12,4 +12,4 @@
/* $Id$ */ /* $Id$ */
$phpgw_info["server"]["version"] = "0.9.7pre3"; $phpgw_info["server"]["version"] = "0.9.7pre3";
$phpgw_info["server"]["current_header_version"] = "1.4"; $phpgw_info["server"]["current_header_version"] = "1.5";