Add validate_db_type() accepting sqlite3/mysql/postgres/mssql. Update GITEA_DB_TYPE validator from nonempty to db_type. Add conditional DB validation arrays (host, port, name, user, passwd) required when DB type is not sqlite3. Rename SSL conditional arrays for clarity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 KiB
28 KiB