mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
we can use this file, to hide the refferer to external websites
use it like this: /phpgroupware/index.php?go=http%3A%2F%2Fexternal.host.com need still some tweaking :)
This commit is contained in:
parent
601f495f93
commit
db1b79ff98
25
redirect.php
Normal file
25
redirect.php
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
/**************************************************************************\
|
||||||
|
* phpGroupWare - save redirect script *
|
||||||
|
* idea by: Jason Wies <jason@xc.net> *
|
||||||
|
* doing and adding to cvs: Lars Kneschke <lkneschke@linux-at-work.de> *
|
||||||
|
* http://www.phpgroupware.org *
|
||||||
|
* -------------------------------------------- *
|
||||||
|
* This program is free software; you can redistribute it and/or modify it *
|
||||||
|
* under the terms of the GNU General Public License as published by the *
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
|
* option) any later version. *
|
||||||
|
\**************************************************************************/
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
if ($GLOBALS['go'])
|
||||||
|
{
|
||||||
|
Header('Location: ' . $GLOBALS['go']);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print "this want work!!";
|
||||||
|
}
|
||||||
|
?>
|
Loading…
x
Reference in New Issue
Block a user