Skip to content

Commit 59e56bd

Browse files
committed
Pass link to demo server through url.php
Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 8326aae commit 59e56bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
. 'please do not change root, debian-sys-maint and pma users. '
153153
. 'More information is available at %s.'
154154
),
155-
'<a href="http://demo.phpmyadmin.net/">demo.phpmyadmin.net</a>'
155+
'<a href="url.php?url=http://demo.phpmyadmin.net/">demo.phpmyadmin.net</a>'
156156
);
157157
echo '</p>';
158158
echo '</div>';

Diff for: libraries/core.lib.php

+1
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,7 @@ function PMA_isAllowedDomain($url)
762762
$_SERVER['SERVER_NAME'],
763763
/* phpMyAdmin domains */
764764
'wiki.phpmyadmin.net', 'www.phpmyadmin.net', 'phpmyadmin.net',
765+
'demo.phpmyadmin.net',
765766
'docs.phpmyadmin.net',
766767
/* mysql.com domains */
767768
'dev.mysql.com','bugs.mysql.com',

0 commit comments

Comments
 (0)