From 4b914974d2a1418aac463f89e89a5b9506838b88 Mon Sep 17 00:00:00 2001 From: Robert Treat Date: Thu, 8 Oct 2020 01:39:43 -0400 Subject: [PATCH] Fix links to docs for pgsql 13 & 14 For version 14, we point to the /devel/ docs, since that version is currently in dev. I also bumped the fall through to point to v14, arguably we could instead point to /current/, but any current version will work, so I think devel is more likely. --- classes/database/Postgres.php | 2 +- help/PostgresDoc13.php | 13 +++++++++++++ help/PostgresDoc14.php | 13 +++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 help/PostgresDoc13.php create mode 100644 help/PostgresDoc14.php diff --git a/classes/database/Postgres.php b/classes/database/Postgres.php index 6fab3bd7..bfd04a87 100644 --- a/classes/database/Postgres.php +++ b/classes/database/Postgres.php @@ -419,7 +419,7 @@ class Postgres extends ADODB_base { } function getHelpPages() { - include_once('./help/PostgresDoc95.php'); + include_once('./help/PostgresDoc14.php'); return $this->help_page; } diff --git a/help/PostgresDoc13.php b/help/PostgresDoc13.php new file mode 100644 index 00000000..b261087b --- /dev/null +++ b/help/PostgresDoc13.php @@ -0,0 +1,13 @@ +help_base = sprintf($GLOBALS['conf']['help_base'], '13'); + +?> diff --git a/help/PostgresDoc14.php b/help/PostgresDoc14.php new file mode 100644 index 00000000..2fe76f5f --- /dev/null +++ b/help/PostgresDoc14.php @@ -0,0 +1,13 @@ +help_base = sprintf($GLOBALS['conf']['help_base'], 'devel'); + +?> -- 2.39.5