Skip to content

Commit c80350f

Browse files
authored
Merge pull request hestiacp#5 from serghey-rodin/master
update from master
2 parents 5d10ea2 + 3aadf37 commit c80350f

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

install/vst-install-rhel.sh

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,17 @@ fi
636636
#----------------------------------------------------------#
637637

638638
# Installing rpm packages
639-
if [ "$remi" = 'yes' ]; then
640-
yum -y --disablerepo=* \
641-
--enablerepo="*base,*updates,nginx,epel,vesta,remi*" \
642-
install $software
643-
else
644-
yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \
645-
install $software
646-
fi
639+
#if [ "$remi" = 'yes' ]; then
640+
# yum -y --disablerepo=* \
641+
# --enablerepo="*base,*updates,nginx,epel,vesta,remi*" \
642+
# install $software
643+
#else
644+
# yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \
645+
# install $software
646+
#fi
647+
648+
# Temporary fix for centos vault issue
649+
yum install $software
647650
check_result $? "yum install failed"
648651

649652

web/inc/i18n/nl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'Services' => 'Processen',
1717
'Firewall' => 'Firewall',
1818
'Updates' => 'Updates',
19+
'Apps' => 'Applicaties',
1920
'Log in' => 'Inloggen',
2021
'Log out' => 'Uitloggen',
2122

web/view/file/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
}
1414

1515
if (!empty($_REQUEST['path'])) {
16-
$path = $_REQUEST['path'];
16+
$path = htmlspecialchars($_REQUEST['path'], ENT_QUOTES, 'UTF-8');
1717
if (!empty($_REQUEST['raw'])) {
1818
header('content-type: image/jpeg');
19-
passthru (VESTA_CMD . "v-open-fs-file " . $user . " " . escapeshellarg(htmlspecialchars($_REQUEST['path'], ENT_QUOTES, 'UTF-8')));
19+
passthru (VESTA_CMD . "v-open-fs-file " . $user . " " . escapeshellarg($path));
2020
exit;
2121
}
2222
}

0 commit comments

Comments
 (0)