Skip to content

Commit aab9bd3

Browse files
committed
log subdomain name in error
1 parent 029e643 commit aab9bd3

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)