function addpath($name, $fspath, $overwrite = false) {
		if ( ! $overwrite && isset($this->registeredpaths[$name])) {
			throw new Panic("A path is already registered for $name.");
		}
		else { // path is not registered yet or overwrite == true
			$this->registeredpaths[$name] = $fspath;
		}
	}
function addpath($name, $fspath, $overwrite = false) {
		if ( ! $overwrite && isset($this->registeredpaths[$name])) {
			throw new Panic("A path is already registered for $name.");
		}
		else { // path is not registered yet or overwrite == true
			$this->registeredpaths[$name] = $fspath;
		}
	}
function addpath ( $ name , $ fspath , $ overwrite = false ) { if ( ! $ overwrite && isset ( $ this -> registeredpaths [ $ name ] ) ) { throw new Panic ( "A path is already registered for $name." ) ; } else { // path is not registered yet or overwrite == true $ this -> registeredpaths [ $ name ] = $ fspath ; } }
Registers a path under a specified name.

If the path is already registered the method will Panic unless the 3rd
parameter is passed.
Registers a path under a specified name .