Skip to content
Permalink
Browse files Browse the repository at this point in the history
Pass link to demo server through url.php
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 29, 2016
1 parent 8326aae commit 59e56bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -152,7 +152,7 @@
. 'please do not change root, debian-sys-maint and pma users. '
. 'More information is available at %s.'
),
'<a href="http://demo.phpmyadmin.net/">demo.phpmyadmin.net</a>'
'<a href="url.php?url=http://demo.phpmyadmin.net/">demo.phpmyadmin.net</a>'
);
echo '</p>';
echo '</div>';
Expand Down
1 change: 1 addition & 0 deletions libraries/core.lib.php
Expand Up @@ -762,6 +762,7 @@ function PMA_isAllowedDomain($url)
$_SERVER['SERVER_NAME'],
/* phpMyAdmin domains */
'wiki.phpmyadmin.net', 'www.phpmyadmin.net', 'phpmyadmin.net',
'demo.phpmyadmin.net',
'docs.phpmyadmin.net',
/* mysql.com domains */
'dev.mysql.com','bugs.mysql.com',
Expand Down

0 comments on commit 59e56bd

Please sign in to comment.