public function loadConfigs($configsData) { parent::loadConfigs($configsData); if (isset($configsData["UNOCONV"]) && !empty($configsData["UNOCONV"])) { // APPEND THE UNOCONV SUPPORTED EXTENSIONS $this->manifestDoc->documentElement->setAttribute("mimes", implode(",", array_merge($this->imagickExtensions, $this->unoconvExtensios))); } else { $this->manifestDoc->documentElement->setAttribute("mimes", implode(",", $this->imagickExtensions)); } }
public function loadConfigs($configData) { parent::loadConfigs($configData); $keyFile = $this->getPluginWorkDir(true) . "/agent.pem"; if (file_exists($keyFile)) { $res = openssl_pkey_get_private(file_get_contents($keyFile)); $details = openssl_pkey_get_details($res); $public = $details["key"]; $this->pluginConf["ZOHO_AGENT_PUBLIC_KEY"] = $public; } }
public function loadConfigs($configData) { parent::loadConfigs($configData); if (!defined("AJXP_THEME_FOLDER")) { define("CLIENT_RESOURCES_FOLDER", AJXP_PLUGINS_FOLDER . "/gui.ajax/res"); define("AJXP_THEME_FOLDER", CLIENT_RESOURCES_FOLDER . "/themes/" . $this->pluginConf["GUI_THEME"]); } if (!isset($configData["CLIENT_TIMEOUT_TIME"])) { $this->pluginConf["CLIENT_TIMEOUT_TIME"] = intval(ini_get("session.gc_maxlifetime")); } }
public function loadConfigs($configData) { parent::loadConfigs($configData); if (preg_match('/MSIE 7/', $_SERVER['HTTP_USER_AGENT']) || preg_match('/MSIE 8/', $_SERVER['HTTP_USER_AGENT'])) { // Force legacy theme for the moment $this->pluginConf["GUI_THEME"] = "oxygen"; } if (!defined("AJXP_THEME_FOLDER")) { define("CLIENT_RESOURCES_FOLDER", AJXP_PLUGINS_FOLDER . "/gui.ajax/res"); define("AJXP_THEME_FOLDER", CLIENT_RESOURCES_FOLDER . "/themes/" . $this->pluginConf["GUI_THEME"]); } if (!isset($configData["CLIENT_TIMEOUT_TIME"])) { $this->pluginConf["CLIENT_TIMEOUT_TIME"] = intval(ini_get("session.gc_maxlifetime")); } }
public function loadConfigs($data) { $this->filterData($data); parent::loadConfigs($data); }