public function SetImportDirs( $dirs ){
		Less_Parser::$options['import_dirs'] = array();

		foreach($dirs as $path => $uri_root){

			$path = self::WinPath($path);
			if( !empty($path) ){
				$path = rtrim($path,'/').'/';
			}

			if ( !is_callable($uri_root) ){
				$uri_root = self::WinPath($uri_root);
				if( !empty($uri_root) ){
					$uri_root = rtrim($uri_root,'/').'/';
				}
			}

			Less_Parser::$options['import_dirs'][$path] = $uri_root;
		}
	}
public function SetImportDirs( $dirs ){
		Less_Parser::$options['import_dirs'] = array();

		foreach($dirs as $path => $uri_root){

			$path = self::WinPath($path);
			if( !empty($path) ){
				$path = rtrim($path,'/').'/';
			}

			if ( !is_callable($uri_root) ){
				$uri_root = self::WinPath($uri_root);
				if( !empty($uri_root) ){
					$uri_root = rtrim($uri_root,'/').'/';
				}
			}

			Less_Parser::$options['import_dirs'][$path] = $uri_root;
		}
	}
public function SetImportDirs ( $ dirs ) { Less_Parser :: $ options [ 'import_dirs' ] = array ( ) ; foreach ( $ dirs as $ path => $ uri_root ) { $ path = self :: WinPath ( $ path ) ; if ( ! empty ( $ path ) ) { $ path = rtrim ( $ path , '/' ) . '/' ; } if ( ! is_callable ( $ uri_root ) ) { $ uri_root = self :: WinPath ( $ uri_root ) ; if ( ! empty ( $ uri_root ) ) { $ uri_root = rtrim ( $ uri_root , '/' ) . '/' ; } } Less_Parser :: $ options [ 'import_dirs' ] [ $ path ] = $ uri_root ; } }
Set a list of directories or callbacks the parser should use for determining import paths

@param array $dirs
Set a list of directories or callbacks the parser should use for determining import paths