## Used test code:
$f = fopen(FULL_PATH . '/system/config.php', 'r');
test($f);
function test($file)
{
throw new RuntimeException('Test');
}
## Test Plan
# Modify index php. Add test code after `$application->Init();`
# Open some front-end page
# Login to adm.console
# Go to {nav Logs & Reports > System Log}
# Double click on recent record, containing `Test` message
# Expand content of `Backtrace` field by clicking on the last `Function` link
# Confirm, that value of resource type parameter is displayed correctly, like `Resource id #n`, where `n` is some integer value