Function get_accessible_file
Returns a web accessible path to a web inaccessible file.
If the accessible file does not exists it is created.
The directory where the files are copied is defined by the ACCESSIBLE_ASSETS constant.
Note: Calls to this function are forwarded to Helpers::get_accessible_file().
Parameters summary
string |
$path |
Absolute path to the web inaccessible file. |
string |
$suffix = null |
Optional suffix for the web accessible filename. |
Return value summary
string
|
The pathname of the replacement. |
Thrown exceptions summary
|
if the replacement file could not be created. |