src/Loader.php
public function setPath( $path )
	{
#		if( $path && !file_exists( $path ) )
#			throw new RuntimeException( 'Invalid path' );
		$path	= str_replace( DIRECTORY_SEPARATOR, "/", $path );
		$path	= preg_replace( "@(.+)/$@", "\\1", $path )."/";
		$this->path	= $path;
	}
public function setPath( $path )
	{
#		if( $path && !file_exists( $path ) )
#			throw new RuntimeException( 'Invalid path' );
		$path	= str_replace( DIRECTORY_SEPARATOR, "/", $path );
		$path	= preg_replace( "@(.+)/$@", "\\1", $path )."/";
		$this->path	= $path;
	}
public function setPath ( $ path ) { #		if( $path && !file_exists( $path ) ) #			throw new RuntimeException( 'Invalid path' ); $ path = str_replace ( DIRECTORY_SEPARATOR , "/" , $ path ) ; $ path = preg_replace ( "@(.+)/$@" , "\\1" , $ path ) . "/" ; $ this -> path = $ path ; }
Sets Path to load Files from to force absolute File Names.
@access		public
@param		string			$path				Path to load Files from, empty to remove set Path
@return		void
@throws		RuntimeException if Path is not existing
Sets Path to load Files from to force absolute File Names .