parent
8f99998def
commit
471cd47e93
@ -1,23 +0,0 @@ |
|||||||
<?php |
|
||||||
/* For licensing terms, see /license.txt */ |
|
||||||
|
|
||||||
/** |
|
||||||
* Header utility functions. |
|
||||||
* |
|
||||||
* @license see /license.txt |
|
||||||
* @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva |
|
||||||
* @deprecated |
|
||||||
*/ |
|
||||||
class Header |
|
||||||
{ |
|
||||||
/** |
|
||||||
* Redirect the navigator to the specified url. |
|
||||||
* |
|
||||||
* @param string $url |
|
||||||
*/ |
|
||||||
public static function location($url) |
|
||||||
{ |
|
||||||
header("Location: $url"); |
|
||||||
exit; |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue