getLocal
string|boolean public static \Bitrix\Main\Loader::getLocal( string $path, string $root = null );
Static method checks for existing file in /local
or /bitrix
directories.
Parameters
Parameter | Description | Version |
---|---|---|
$path | File path relative to /local/ or /bitrix/ | |
$root | Server document root, by default: static::getDocumentRoot() |
Example
© «Bitrix24», 2001-2024
Up