How to determine where a require request originated?

Ayla

New Member
Is there any way to determine from within a required script, where that require call was made from?So if Script B is required by Script A. How can I determine from within Script B that it is Script A who is making the request?
 
Top