I think i figured out a way to do this; but I'm sure its not considered "best practice" by any means.


[co]
  • if(basename($_SERVER["SCRIPT_FILENAME"],".php") == "configaddons")
    {
    //return addon options
    }
  • [/co]