$this->load_filter('pre', 'resetExtScope');
$this->assign('crmPermissions', new CRM_Core_Smarty_Permissions());
+
+ if ($config->debug) {
+ $this->error_reporting = E_ALL;
+ }
}
/**
*
* Method providing static instance of SmartTemplate, as
* in Singleton pattern.
+ *
+ * @return \CRM_Core_Smarty
*/
public static function &singleton() {
if (!isset(self::$_singleton)) {