public function getOutputFileType() { $compress = Config::get('db-manager.output.compress'); if (!isset($compress) || isset($compress) && !is_bool($compress) || isset($compress) && is_bool($compress) && $compress) { return ".zip"; } return "." . Database::getFileExtension(); }
public function getOutputFileType() { $compress = $this->checkBooleanOption('compress') || $this->checkBooleanOption('individualFiles'); if (!isset($compress) || isset($compress) && !is_bool($compress) || isset($compress) && is_bool($compress) && $compress) { return ".zip"; } return "." . Database::getFileExtension(); }