mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
security fix
This commit is contained in:
parent
888b35ddef
commit
86b37fa928
@ -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){
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user