CBPRuntime :: GetResourceFilePath: Bitrix method

      
<?php 
//  CBPRuntime :: GetResourceFilePath()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:521

    
public function GetResourceFilePath($activityPath$filePath)
    {
        
$path str_replace("\\""/"$activityPath);
        
$path substr($path0strrpos($path"/") + 1);

        
$filePath str_replace("\\""/"$filePath);
        
$filePath ltrim($filePath"/");

        if (
file_exists($path.$filePath) && is_file($path.$filePath))
            return array(
$path.$filePath$path);
        else
            return 
null;
    }