Mecha CMS

Helper functions.

path

Return the resolved relative file/folder path if input is a valid file/folder path, otherwise return null.

2.5.2

path(string $value);

Example:

echo path('../../index.css');