} elseif ($action == 'csv') {
$this->deniedUnless($this->perm >= self::ADMIN);
+ $this->notimeout();
header('Content-type: text/plain');
$this->db->dump2csv();
exit;
} elseif ($action == 'dump') {
$this->deniedUnless($this->perm >= self::ADMIN);
+ $this->notimeout();
header('Content-type: text/plain');
$this->db->dump($this->params['action']);
exit;
# NB 14.12.17 return $link . '.' . $this->ext;
}
+ private static function notimeout() {
+ set_time_limit(0);
+ }
+
} # < Class Dbq
$DBQ = new DbQ(['run'=>true]);
?>