mirror of
https://github.com/myvesta/vesta
synced 2025-08-13 01:57:57 -07:00
minor bugfixes for 0.9.7 release
This commit is contained in:
parent
20e407d6d8
commit
a12c625091
4 changed files with 9 additions and 7 deletions
|
@ -60,7 +60,7 @@ for ip in $ip_list; do
|
||||||
mask=$(/sbin/ifconfig |grep -w $ip |awk -F "Mask:" '{print $2}')
|
mask=$(/sbin/ifconfig |grep -w $ip |awk -F "Mask:" '{print $2}')
|
||||||
|
|
||||||
# Adding vesta ip
|
# Adding vesta ip
|
||||||
ip_add_vesta
|
create_vesta_ip
|
||||||
|
|
||||||
# Adding namehosting support
|
# Adding namehosting support
|
||||||
namehost_ip_support
|
namehost_ip_support
|
||||||
|
|
|
@ -25,7 +25,7 @@ source $VESTA/func/main.sh
|
||||||
|
|
||||||
# Export PATH for cron
|
# Export PATH for cron
|
||||||
PATH=$PATH:$BIN
|
PATH=$PATH:$BIN
|
||||||
export $PATH
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Verifications #
|
# Verifications #
|
||||||
|
@ -44,7 +44,7 @@ case $queue in
|
||||||
rm $VESTA/data/queue/restart.pipe;
|
rm $VESTA/data/queue/restart.pipe;
|
||||||
touch $VESTA/data/queue/restart.pipe;;
|
touch $VESTA/data/queue/restart.pipe;;
|
||||||
stats) bash $VESTA/data/queue/stats.pipe;;
|
stats) bash $VESTA/data/queue/stats.pipe;;
|
||||||
backup) bash $VESTA/data/queue/backup.pip;;
|
backup) bash $VESTA/data/queue/backup.pipe;;
|
||||||
disk) bash $VESTA/data/queue/disk.pipe;;
|
disk) bash $VESTA/data/queue/disk.pipe;;
|
||||||
traffic) bash $VESTA/data/queue/traffic.pipe;;
|
traffic) bash $VESTA/data/queue/traffic.pipe;;
|
||||||
*) check_args '1' '0' 'queue'
|
*) check_args '1' '0' 'queue'
|
||||||
|
|
|
@ -11,8 +11,9 @@ foreach ($data as $key => $value) {
|
||||||
$spnd_action = 'suspend' ;
|
$spnd_action = 'suspend' ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpMyAdmin/";
|
list($http_host, $port) = split(':', $_SERVER["HTTP_HOST"]);
|
||||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpPgAdmin/";
|
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||||
|
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,9 @@ foreach ($data as $key => $value) {
|
||||||
$spnd_action = 'suspend' ;
|
$spnd_action = 'suspend' ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpMyAdmin/";
|
list($http_host, $port) = split(':', $_SERVER["HTTP_HOST"]);
|
||||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpPgAdmin/";
|
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||||
|
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue