File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -536,6 +536,8 @@ public function configure_spamassassin()
536536
537537 public function configure_getmail ()
538538 {
539+ global $ conf ;
540+
539541 $ config_dir = $ conf ['getmail ' ]['config_dir ' ];
540542
541543 if (!is_dir ($ config_dir )) exec ("mkdir -p " .escapeshellcmd ($ config_dir ));
@@ -601,6 +603,8 @@ public function configure_mydns()
601603
602604 public function configure_apache ()
603605 {
606+ global $ conf ;
607+
604608 //* Create the logging directory for the vhost logfiles
605609 exec ('mkdir -p /var/log/ispconfig/httpd ' );
606610
@@ -612,6 +616,7 @@ public function configure_firewall()
612616
613617 $ dist_init_scripts = $ conf ['init_scripts ' ];
614618
619+ if (is_dir ("/etc/Bastille.backup " )) caselog ("rm -rf /etc/Bastille.backup " , __FILE__ , __LINE__ );
615620 if (is_dir ("/etc/Bastille " )) caselog ("mv -f /etc/Bastille /etc/Bastille.backup " , __FILE__ , __LINE__ );
616621 @mkdir ("/etc/Bastille " , octdec ($ directory_mode ));
617622 if (is_dir ("/etc/Bastille.backup/firewall.d " )) caselog ("cp -pfr /etc/Bastille.backup/firewall.d /etc/Bastille/ " , __FILE__ , __LINE__ );
You can’t perform that action at this time.
0 commit comments