public function setPath($path)
	{
		$path = trim($path, '/');

		if (strlen($path) > 0)
		{
			$this->_path = '/' . $path . '/';
		}
		else
		{
			$this->_path = '/';
		}

		if ($this->_urlsInited)
		{
			$this->_initUrls();
		}
	}
public function setPath($path)
	{
		$path = trim($path, '/');

		if (strlen($path) > 0)
		{
			$this->_path = '/' . $path . '/';
		}
		else
		{
			$this->_path = '/';
		}

		if ($this->_urlsInited)
		{
			$this->_initUrls();
		}
	}
public function setPath ( $ path ) { $ path = trim ( $ path , '/' ) ; if ( strlen ( $ path ) > 0 ) { $ this -> _path = '/' . $ path . '/' ; } else { $ this -> _path = '/' ; } if ( $ this -> _urlsInited ) { $ this -> _initUrls ( ) ; } }
Set the path used. If empty will fallback to constants

@param string $path
Set the path used . If empty will fallback to constants