*/
public $ajaxResponse = array();
+ /**
+ * Url path used to reach this page
+ *
+ * @var array
+ */
+ public $urlPath = array();
+
/**
* class constructor
*
}
// if the request has a reset value, initialize the controller session
- if (CRM_Utils_Array::value('reset', $_REQUEST)) {
+ if (!empty($_REQUEST['reset'])) {
$this->reset();
}
}
if (empty($_GET['snippet'])) {
// Version check and intermittent alert to admins
CRM_Utils_VersionCheck::singleton()->versionAlert();
+ CRM_Utils_Check_Security::singleton()->showPeriodicAlerts();
// Debug msg once per hour
if ($config->debug && CRM_Core_Permission::check('administer CiviCRM') && CRM_Core_Session::singleton()->timer('debug_alert', 3600)) {