Hello,
I need to get the name of the currently selected domain in the plugin.
So far I have been using the $_ENV['SESSION_SELECTED_DOMAIN'] variable. My plugin is written in PHP.
Previously, it worked well. It hasn't worked since either of the last DirectAdmin updates this year (I can't pinpoint which one, unfortunately).
Currently, the variable displays the name of the default domain all the time.
Has anything changed? How can I get the name of the currently selected domain?
I need to get the name of the currently selected domain in the plugin.
So far I have been using the $_ENV['SESSION_SELECTED_DOMAIN'] variable. My plugin is written in PHP.
Previously, it worked well. It hasn't worked since either of the last DirectAdmin updates this year (I can't pinpoint which one, unfortunately).
Currently, the variable displays the name of the default domain all the time.
Has anything changed? How can I get the name of the currently selected domain?