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