public function removeConfigPath($directory)
    {
        if (($key = array_search($directory, $this->configPaths)) !== false) 
        {
            unset($this->configPaths[$key]);
        }
    }
public function removeConfigPath($directory)
    {
        if (($key = array_search($directory, $this->configPaths)) !== false) 
        {
            unset($this->configPaths[$key]);
        }
    }
public function removeConfigPath ( $ directory ) { if ( ( $ key = array_search ( $ directory , $ this -> configPaths ) ) !== false ) { unset ( $ this -> configPaths [ $ key ] ) ; } }
Remove a path where config files can be found

@param string $directory The directory
@return void
Remove a path where config files can be found