How to get current application
How can you get the current application name via a plugin? I can't seem to find it anywhere directly via the $Sender argument
Tagged:
0
Comments
And in that discussion you mention nothing regarding to how to see the current application name/folder
class Gdn_Controller extends Gdn_Pluggable {
/**
* The name of the application that this controller can be found in
* (ie. Vanilla, Garden, etc).
*
* @var string
*/
public $Application;
/**
* The name of the application folder that this controller can be found in
* (ie. vanilla, dashboard, etc).
*
* @var string
*/
public $ApplicationFolder;
$Sender->Application;