how to get name of current package

Is there any API call to get the name of “current” package ?

Here is the story. I have a config file in the package config directory. Instead of hardcoding the path of the config file, i’m wondering if there is a way to figure the package name on the fly.


Yes, the search function is your friend.