public static function getBaseUri()
  {
    $scriptPath = new String(dirname(self::getHostParam("SCRIPT_NAME")));

    return self::getHostUri()->append(($scriptPath == DIRECTORY_SEPARATOR ? "" : $scriptPath) . "/");
  }
public static function getBaseUri()
  {
    $scriptPath = new String(dirname(self::getHostParam("SCRIPT_NAME")));

    return self::getHostUri()->append(($scriptPath == DIRECTORY_SEPARATOR ? "" : $scriptPath) . "/");
  }
public static function getBaseUri ( ) { $ scriptPath = new String ( dirname ( self :: getHostParam ( "SCRIPT_NAME" ) ) ) ; return self :: getHostUri ( ) -> append ( ( $ scriptPath == DIRECTORY_SEPARATOR ? "" : $ scriptPath ) . "/" ) ; }
Returns the applications base address.

@return string
Returns the applications base address .