allow read-only access to rcube_output::$env

pull/1/head
thomascube 13 years ago
parent c31360dbd7
commit 69baeefab3

@ -53,6 +53,18 @@ abstract class rcube_output
}
/**
* Magic getter
*/
public function __get($var)
{
// allow read-only access to $env
if ($var == 'env')
return $this->env;
return null;
}
/**
* Setter for page title
*

Loading…
Cancel
Save