I am following Object oriented programming tutorial.... I did exact same as tutorial but it doesn't work for me at Url class in getPage() function and it does not show any error.
... As tutorial it will come with error.php which is in pages folder, if I don't have any page created at pages folder or that page should come that will I create at pages folder
public static function getPage() {
$page = self::$_folder.DS.self::cPage().".php";
$error = self::$_folder.DS."error.php";
return is_file($page) ? $page : $error;
}
Here is my code... Have any suggestion... Thanks in advance.