$filescurrentPath()

Get the current path / work directory

This is like PHP’s getcwd() function except that is in ProcessWire format as unix path with trailing slash.

Available since version 3.0.130.

Usage

$string = $files->currentPath();

Return value

string


$files methods and properties

API reference based on ProcessWire core version 3.0.251