We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 043a0a3 commit dd2bf58Copy full SHA for dd2bf58
install/lib/installer_base.lib.php
@@ -875,7 +875,7 @@ public function install_ispconfig()
875
include_once($install_dir.'/server/plugins-available/'.$file);
876
$plugin_name = substr($file,0,-8);
877
$tmp = new $plugin_name;
878
- if($tmp->onInstall()) {
+ if(method_exists($tmp,'onInstall') && $tmp->onInstall()) {
879
if(!@is_link($install_dir.'/server/plugins-enabled/'.$file)) @symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file);
880
if (strpos($file, '_core_plugin') !== false) {
881
if(!@is_link($install_dir.'/server/plugins-core/'.$file)) @symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-core/'.$file);
0 commit comments