ptut-vhost/build/router/controller/redirect.php

37 lines
351 B
PHP

<?php
namespace router\controller;
class redirect{
private $url;
/* PRE-CALL
*
* @url<String> Calling URI
*
*/
public function __construct($url){
$this->url = $url;
}
/* CALL
*
*/
public function home(){
header('Location: /home/');
}
/* POST-CALL
*
*/
public function __destruct(){
}
}