Skip to content

Commit df57b55

Browse files
author
Marius Burkard
committed
Merge branch 'aps-remote-dont-load-nonexisting-config' into 'stable-3.1'
Don't try to load non-existing config in aps remote, fixes #4974 See merge request ispconfig/ispconfig3!913
2 parents 837a10c + 0b1fac1 commit df57b55

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

interface/lib/classes/remote.d/aps.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public function sites_aps_update_package_list($session_id)
4343
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
4444
return false;
4545
}
46-
47-
require_once '../../../lib/config.inc.php';
46+
4847
$app->load('aps_crawler');
4948

5049
$aps = new ApsCrawler($app, true); // true = Interface mode, false = Server mode

0 commit comments

Comments
 (0)