/**
  *	__construct()
  *	
  *	Default constructor.
  *	Record our own instance and then use the parent constructor.
  *	
  *	@return		none
  *
  */
 public function __construct()
 {
     self::$_instance = $this;
     parent::__construct();
     // Override the 'auto' value already set as that is based on max_execution_time
     // which is not so relevant for exec mode - we are more concerned with timeout like
     // fcgid iotimeout which we cannot know programmatically - so assume a
     // common minimum (so our maximum burst period) and then we reset the burst
     // threshold period by 'auto' based on the max period we just set - although
     // the burst threshold period doesn't really come into play here because we are
     // working by size rather than period.
     $this->set_burst_max_period(self::ZIP_EXEC_BURST_MAX_PERIOD);
     $this->set_burst_threshold_period('auto');
 }
Пример #2
0
 /**
  *	__construct()
  *	
  *	Default constructor.
  *	Record our own instance and then use the parent constructor.
  *	
  *	@return		none
  *
  */
 public function __construct()
 {
     self::$_instance = $this;
     parent::__construct();
 }