Bitrix Site Manager

CMain::GetFileContent

mixed
CMain::GetFileContent(
 string abs_path
)

The method GetFileContent retrieves the file contents.

Parameters

ParameterDescription
abs_path Absolute path to the file.

Return Values

String containing the file contents. The method returns false if the file cannot be found.

See Also

Example



<?
$APPLICATION->GetFileContent($_SERVER["DOCUMENT_ROOT"]."/en/index.php");
?>