1 |
<? |
2 |
// ------------------------------------------------------------------------- |
3 |
// $Id$ |
4 |
// ------------------------------------------------------------------------- |
5 |
// $Log$ |
6 |
// ------------------------------------------------------------------------- |
7 |
|
8 |
|
9 |
class Site_Http { |
10 |
|
11 |
var $state; |
12 |
|
13 |
function redirect($url) { |
14 |
//print "redir: $url<br>"; |
15 |
$this->site->log( get_class($this) . "->redirect( url $url )", LOG_DEBUG); |
16 |
Header("Location: " . $url); |
17 |
exit; |
18 |
} |
19 |
|
20 |
} |
21 |
|
22 |
?> |