Example #1
0
//--------------------------------------------------------------------------------------------------
// 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
//
//--------------------------------------------------------------------------------------------------
Example #2
0
 public function prev(bool $isPath = true) : string
 {
     return prevPath($isPath);
 }