phpBB API Documentation
Class

phpbb\filesystem

class filesystem

A class with various functions that are related to paths, files and the filesystem

Methods

string clean_path(string $path)

Eliminates useless .

Details

at line 27
public string clean_path(string $path)

Eliminates useless .

and .. components from specified path.

Parameters

string $path Path to clean

Return Value

string Cleaned path