/** * Constructor * * @param string $strSystemid */ public function __construct($strSystemid) { parent::__construct($strSystemid); //Increase max execution time if (@ini_get("max_execution_time") < 7200 && @ini_get("max_execution_time") > 0) { @ini_set("max_execution_time", "7200"); } }
/** * Constructor * */ public function __construct() { //try to fetch the current dir $strDir = class_resourceloader::getInstance()->getPathForFile("/installer/" . get_class($this) . ".php"); $strDir = dirname(_realpath_ . $strDir); $this->objMetadata = new class_module_packagemanager_metadata(); $this->objMetadata->autoInit(uniStrReplace(array("/installer", _realpath_), array("", ""), $strDir)); parent::__construct(); }