File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ public function onAfterSQL() {
88 global $ inst ;
99
1010 // Remove old server plugins, unless they are currently enabled
11- if (!is_link ('/usr/local/ispconfig/server/plugins-enabled/nginx_reverseproxy_plugin.inc.php ' ))
11+ if (file_exists ( ' /usr/local/ispconfig/server/plugins-available/nginx_reverseproxy_plugin.inc.php ' ) && !is_link ('/usr/local/ispconfig/server/plugins-enabled/nginx_reverseproxy_plugin.inc.php ' ))
1212 unlink ('/usr/local/ispconfig/server/plugins-available/nginx_reverseproxy_plugin.inc.php ' );
13- if (!is_link ('/usr/local/ispconfig/server/plugins-enabled/bind_dlz_plugin.inc.php ' ))
13+ if (file_exists ( ' /usr/local/ispconfig/server/plugins-available/bind_dlz_plugin.inc.php ' ) && !is_link ('/usr/local/ispconfig/server/plugins-enabled/bind_dlz_plugin.inc.php ' ))
1414 unlink ('/usr/local/ispconfig/server/plugins-available/bind_dlz_plugin.inc.php ' );
1515 }
1616
You can’t perform that action at this time.
0 commit comments