Beispiel #1
0
//--------------------------------------------------------------------------------------------------
// PREV_URL
//--------------------------------------------------------------------------------------------------
//
// @return example.com/prev
//
//--------------------------------------------------------------------------------------------------
define('PREV_URL', prevUrl());
//--------------------------------------------------------------------------------------------------
// HOST_URL
//--------------------------------------------------------------------------------------------------
//
// @return hostname
//
//--------------------------------------------------------------------------------------------------
define('HOST_URL', hostUrl());
//--------------------------------------------------------------------------------------------------
// BASE_PATH
//--------------------------------------------------------------------------------------------------
//
// @return example.com/
//
//--------------------------------------------------------------------------------------------------
define('BASE_PATH', basePath());
//--------------------------------------------------------------------------------------------------
// CURRENT_PATH
//--------------------------------------------------------------------------------------------------
//
// @return current/
//
//--------------------------------------------------------------------------------------------------
 public function host(string $uri = '') : string
 {
     return hostUrl($uri);
 }