Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
0b5560dc
Commit
0b5560dc
authored
Sep 27, 2018
by
root
Browse files
Add phpmyadmin information, works on all
parent
23f065cc
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
0b5560dc
...
...
@@ -91,7 +91,7 @@ function check_status
dialog
--
backtitle
"
$BACKTITLE
"
--
title
"Please wait"
--
infobox
"
\n
Loading install info ... "
5
28
LIST
=
()
LIST_CONST
=
2
4
LIST_CONST
=
2
3
# Samba
SAMBA_STATUS
=
"$(check_if_installed samba && echo "
on
" || echo "
off
" )"
...
...
@@ -195,6 +195,13 @@ function check_status
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
LIST
+=
(
"ISPConfig"
"
$DESCRIPTION
"
"
$ISPCONFIG_STATUS
"
)
# PHPmyadmin
if
[[
$ISPCONFIG_STATUS
==
on
]];
then
LIST_CONST
=
$
((
LIST_CONST
+
1
))
alive_port
"MYSQL administration"
"8081"
PHPMYADMIN_STATUS
=
"on"
LIST
+=
(
"PHPmyadmin"
"
$DESCRIPTION
"
"
$PHPMYADMIN_STATUS
"
)
fi
}
...
...
@@ -1213,7 +1220,6 @@ a2enmod actions proxy_fcgi setenvif fastcgi alias httpoxy suexec rewrite ssl act
a2enconf php7.2-fpm >/dev/null 2>
&
1
;;
esac
}
service apache2 restart >> /dev/null
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment