17 lines
184 B
PHP
17 lines
184 B
PHP
|
<?php
|
||
|
|
||
|
class Response {
|
||
|
private $_anvil;
|
||
|
|
||
|
public function __construct($a) {
|
||
|
$this->_anvil = $a;
|
||
|
}
|
||
|
|
||
|
public function redirect($url) {
|
||
|
header('Location: '.$url);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|