123456789101112131415161718192021 |
- <?php
- /**
- * Header utility functions.
- *
- * @license see /license.txt
- * @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva
- */
- class Header
- {
- /**
- * Redirect the navigator to the specified url.
- *
- * @param string $url
- */
- public static function location($url)
- {
- header("Location: $url");
- exit;
- }
- }
|