Why in 1c-bitrix on the first line of files that need to be hidden from direct access via url, just use die();
, not header('Location: Address ');
die(); ?
firstly, not "from direct access", from execution
; secondly, these are absolutely meaningless gestures. no need to look at the 1-s-bitrix code, thirdly, you will become a goat
, why is there some kind of header('Location: Address');? What's the point of this?