Session to store selected domain

Version 1.43

Feature
Finished

When a User accesses his User Level, once he views the page: CMD_SHOW_DOMAIN?domain=domain.com DA will log the domain value (assuming it's valid) into the session file as: selected_domain=domain.com With that, all plugins should then have access to read this env variable as: SESSION_SELECTED_DOMAIN=domain.com which saves the need for the plugin to pass the domain via GET all over. The global skin tokens will also have the variable: SESSION_SELECTED_DOMAIN Note that there is no guarantee that this variable will be set. However, if you can't find |DOMAIN| or |domain|, then this variable would be a good one to try.

Interested to try DirectAdmin? Get a 30-day Free Trial!