Use HTTPS in doc_link()
This commit is contained in:
parent
c57e7ac3e3
commit
07aa80048a
|
@ -492,11 +492,11 @@ function ini_bytes($ini) {
|
||||||
function doc_link($paths) {
|
function doc_link($paths) {
|
||||||
global $jush, $connection;
|
global $jush, $connection;
|
||||||
$urls = array(
|
$urls = array(
|
||||||
'sql' => "http://dev.mysql.com/doc/refman/" . substr($connection->server_info, 0, 3) . "/en/",
|
'sql' => "https://dev.mysql.com/doc/refman/" . substr($connection->server_info, 0, 3) . "/en/",
|
||||||
'sqlite' => "http://www.sqlite.org/",
|
'sqlite' => "https://www.sqlite.org/",
|
||||||
'pgsql' => "http://www.postgresql.org/docs/" . substr($connection->server_info, 0, 3) . "/static/",
|
'pgsql' => "https://www.postgresql.org/docs/" . substr($connection->server_info, 0, 3) . "/static/",
|
||||||
'mssql' => "http://msdn.microsoft.com/library/",
|
'mssql' => "https://msdn.microsoft.com/library/",
|
||||||
'oracle' => "http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/",
|
'oracle' => "https://download.oracle.com/docs/cd/B19306_01/server.102/b14200/",
|
||||||
);
|
);
|
||||||
return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]' target='_blank' rel='noreferrer'><sup>?</sup></a>" : "");
|
return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]' target='_blank' rel='noreferrer'><sup>?</sup></a>" : "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue