Skip to content

Commit af014c1

Browse files
author
Till Brehm
committed
Merge branch 'error_log_vhost_name' into 'stable-3.1'
log subdomain name in error See merge request ispconfig/ispconfig3!1090
2 parents 029e643 + aab9bd3 commit af014c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ function update($event_name, $data) {
613613
unset($tmp);
614614

615615
if($app->system->is_blacklisted_web_path($web_folder)) {
616-
$app->log('Vhost is using a blacklisted web folder: ' . $web_folder, LOGLEVEL_ERROR);
616+
$app->log('Vhost ' . $subdomain_host . ' is using a blacklisted web folder: ' . $web_folder, LOGLEVEL_ERROR);
617617
return 0;
618618
}
619619

server/plugins-available/nginx_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ function update($event_name, $data) {
455455
unset($tmp);
456456

457457
if($app->system->is_blacklisted_web_path($web_folder)) {
458-
$app->log('Vhost is using a blacklisted web folder: ' . $web_folder, LOGLEVEL_ERROR);
458+
$app->log('Vhost ' . $subdomain_host . ' is using a blacklisted web folder: ' . $web_folder, LOGLEVEL_ERROR);
459459
return 0;
460460
}
461461

0 commit comments

Comments
 (0)