forked from extern/egroupware
fix some formatting issues
This commit is contained in:
parent
136f437912
commit
ae216a7346
@ -109,19 +109,19 @@
|
|||||||
$this->redirect($this->session->link($url, $extravars));
|
$this->redirect($this->session->link($url, $extravars));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Repsost Prevention Detection
|
* Repost Prevention Detection
|
||||||
*
|
*
|
||||||
* Used as a shortcut. Wrapper to session->is_repost()
|
* Used as a shortcut. Wrapper to session->is_repost()
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param bool $display_error Use common error handler? - not yet implemented
|
* @param bool $display_error Use common error handler? - not yet implemented
|
||||||
* @return bool True if called previously, else False - call ok
|
* @return bool True if called previously, else False - call ok
|
||||||
* @see session->is_repost()
|
* @see session->is_repost()
|
||||||
* @syntax is_post()
|
* @syntax is_post()
|
||||||
* @example $repost = $GLOBALS['phpgwapi']->is_repost();
|
* @example $repost = $GLOBALS['phpgwapi']->is_repost();
|
||||||
* @author Dave Hall
|
* @author Dave Hall
|
||||||
*/
|
*/
|
||||||
function is_repost($display_error = False)
|
function is_repost($display_error = False)
|
||||||
{
|
{
|
||||||
return $this->session->is_repost($display_error);
|
return $this->session->is_repost($display_error);
|
||||||
@ -143,11 +143,11 @@
|
|||||||
|
|
||||||
$iis = @strpos($GLOBALS['HTTP_ENV_VARS']['SERVER_SOFTWARE'], 'IIS', 0);
|
$iis = @strpos($GLOBALS['HTTP_ENV_VARS']['SERVER_SOFTWARE'], 'IIS', 0);
|
||||||
|
|
||||||
if ( !$url )
|
if(!$url)
|
||||||
{
|
{
|
||||||
$url = $_SERVER['PHP_SELF'];
|
$url = $_SERVER['PHP_SELF'];
|
||||||
}
|
}
|
||||||
if ( $iis )
|
if($iis)
|
||||||
{
|
{
|
||||||
echo "\n<HTML>\n<HEAD>\n<TITLE>Redirecting to $url</TITLE>";
|
echo "\n<HTML>\n<HEAD>\n<TITLE>Redirecting to $url</TITLE>";
|
||||||
echo "\n<META HTTP-EQUIV=REFRESH CONTENT=\"0; URL=$url\">";
|
echo "\n<META HTTP-EQUIV=REFRESH CONTENT=\"0; URL=$url\">";
|
||||||
|
Loading…
Reference in New Issue
Block a user