File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1717 $mysql = 1;
1818
1919 $db_admin_link = "http://".$http_host."/phpmyadmin/";
20- if (!empty($_SESSION['DB_PMA_URL'])){
20+ if (!empty($_SESSION['DB_PMA_URL']))
2121 $db_admin_link = $_SESSION['DB_PMA_URL'];
22- }
23- echo '< td class ="step-right "> < a class ="vst " href ="'.$db_admin_link.' "> phpMyAdmin</ td > ';
2422 }
2523 if ($data[$key]['TYPE'] == 'pgsql'){
2624 $pgsql = 1;
2725 $db_admin_link = "http://".$http_host."/phppgadmin/";
28- if (!empty($_SESSION['DB_PGA_URL'])){
26+ if (!empty($_SESSION['DB_PGA_URL']))
2927 $db_admin_link = $_SESSION['DB_PGA_URL'];
30- }
31- echo '< td class ="step-right "> < a class ="vst " href ="'.$db_admin_link.' "> phpPgAdmin</ td > ';
3228 }
3329 }
30+ if($mysql){
31+ echo '< td class ="step-right "> < a class ="vst " href ="'.$db_admin_link.' " target ="_blank "> phpMyAdmin</ td > ';
32+ }
33+ if($pgsql){
34+ echo '< td class ="step-right "> < a class ="vst " href ="'.$db_admin_link.' " target ="_blank "> phpPgAdmin</ td > ';
35+ }
36+
3437 ?>
3538 < td class ="l-sort-toolbar__search-box ">
3639 < form action ="/search/ " method ="get ">
You can’t perform that action at this time.
0 commit comments