@@ -1243,13 +1243,13 @@ public function install_ispconfig() {
12431243 $ tmp = new $ module_name ;
12441244 if ($ tmp ->onInstall ()) {
12451245 if (!@is_link ($ install_dir .'/server/mods-enabled/ ' .$ file )) {
1246- // @symlink($install_dir.'/server/mods-available/'.$file, $install_dir.'/server/mods-enabled/'.$file);
1247- @symlink ($ install_dir .'/server/mods-available/ ' .$ file , '../mods-enabled/ ' .$ file );
1246+ @symlink ($ install_dir .'/server/mods-available/ ' .$ file , $ install_dir .'/server/mods-enabled/ ' .$ file );
1247+ // @symlink($install_dir.'/server/mods-available/'.$file, '../mods-enabled/'.$file);
12481248 }
12491249 if (strpos ($ file , '_core_module ' ) !== false ) {
12501250 if (!@is_link ($ install_dir .'/server/mods-core/ ' .$ file )) {
1251- // @symlink($install_dir.'/server/mods-available/'.$file, $install_dir.'/server/mods-core/'.$file);
1252- @symlink ($ install_dir .'/server/mods-available/ ' .$ file , '../mods-core/ ' .$ file );
1251+ @symlink ($ install_dir .'/server/mods-available/ ' .$ file , $ install_dir .'/server/mods-core/ ' .$ file );
1252+ // @symlink($install_dir.'/server/mods-available/'.$file, '../mods-core/'.$file);
12531253 }
12541254 }
12551255 }
@@ -1270,13 +1270,13 @@ public function install_ispconfig() {
12701270 $ tmp = new $ plugin_name ;
12711271 if (method_exists ($ tmp ,'onInstall ' ) && $ tmp ->onInstall ()) {
12721272 if (!@is_link ($ install_dir .'/server/plugins-enabled/ ' .$ file )) {
1273- // @symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-enabled/'.$file);
1274- @symlink ($ install_dir .'/server/plugins-available/ ' .$ file , '../plugins-enabled/ ' .$ file );
1273+ @symlink ($ install_dir .'/server/plugins-available/ ' .$ file , $ install_dir .'/server/plugins-enabled/ ' .$ file );
1274+ // @symlink($install_dir.'/server/plugins-available/'.$file, '../plugins-enabled/'.$file);
12751275 }
12761276 if (strpos ($ file , '_core_plugin ' ) !== false ) {
12771277 if (!@is_link ($ install_dir .'/server/plugins-core/ ' .$ file )) {
1278- // @symlink($install_dir.'/server/plugins-available/'.$file, $install_dir.'/server/plugins-core/'.$file);
1279- @symlink ($ install_dir .'/server/plugins-available/ ' .$ file , '../plugins-core/ ' .$ file );
1278+ @symlink ($ install_dir .'/server/plugins-available/ ' .$ file , $ install_dir .'/server/plugins-core/ ' .$ file );
1279+ // @symlink($install_dir.'/server/plugins-available/'.$file, '../plugins-core/'.$file);
12801280 }
12811281 }
12821282 }
0 commit comments