public function __construct() { $path = null; $limit = $this->getBackupLimit(); if ($this->isLocalBackupEnabled()) { $this->location = Vtiger_Location::getInstance(Vtiger_Location::$LOCAL, $limit); $path = $this->location->getPath(); } else { $this->location = Vtiger_Location::getInstance(Vtiger_Location::$FTP, $limit); } $this->zip = Vtiger_BackupZip::getInstance($path); ini_set('memory_limit', $this->getMemoryLimit()); ini_set('max_execution_time', $this->getExecutionTimeLimit()); }