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

35 lines
321 B
PHP

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