Calling URI * */ public function __construct($url){ $this->pagename = $url['page']; } /* CALL * */ public function load(){ if( file_exists(__ROOT__."/view/home.php") ) include __ROOT__."/view/home.php"; else echo "page not found"; } /* POST-CALL * */ public function __destruct(){ } }