//-------------------------------------------------------------------------------------------------- // CURRENT_PATH //-------------------------------------------------------------------------------------------------- // // @return current/ // //-------------------------------------------------------------------------------------------------- define('CURRENT_PATH', currentPath()); //-------------------------------------------------------------------------------------------------- // PREV_PATH //-------------------------------------------------------------------------------------------------- // // @return prev/ // //-------------------------------------------------------------------------------------------------- define('PREV_PATH', prevPath()); //-------------------------------------------------------------------------------------------------- // HOST //-------------------------------------------------------------------------------------------------- // // @return example.com // //-------------------------------------------------------------------------------------------------- define('HOST', host()); //-------------------------------------------------------------------------------------------------- // HOST_NAME //-------------------------------------------------------------------------------------------------- // // @return example.com // //--------------------------------------------------------------------------------------------------
public function prev(bool $isPath = true) : string { return prevPath($isPath); }