File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ private function install_acme() {
5252 }
5353
5454 public function update_acme () {
55- $ acme = explode ("\n" , shell_exec ('which acme.sh /usr/local/ispconfig/server/scripts/acme.sh /root/.acme.sh/acme.sh ' ));
55+ $ acme = explode ("\n" , shell_exec ('which acme.sh /usr/local/ispconfig/server/scripts/acme.sh /root/.acme.sh/acme.sh 2> /dev/null ' ));
5656 $ acme = reset ($ acme );
5757 $ val = 0 ;
5858
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function __construct(){
4444 }
4545
4646 public function get_acme_script () {
47- $ acme = explode ("\n" , shell_exec ('which acme.sh /usr/local/ispconfig/server/scripts/acme.sh /root/.acme.sh/acme.sh ' ));
47+ $ acme = explode ("\n" , shell_exec ('which acme.sh /usr/local/ispconfig/server/scripts/acme.sh /root/.acme.sh/acme.sh 2> /dev/null ' ));
4848 $ acme = reset ($ acme );
4949 if (is_executable ($ acme )) {
5050 return $ acme ;
You can’t perform that action at this time.
0 commit comments