Explorar o código

[domains] add exit after redirect (#6366)

agree %!s(int64=3) %!d(string=hai) anos
pai
achega
50403d9f49
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/domains/domains.php

+ 1 - 0
core/domains/domains.php

@@ -33,6 +33,7 @@
 //redirect admin to app instead
 	if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !permission_exists('domain_all') && !is_cli()) {
 		header("Location: ".PROJECT_PATH."/app/domains/domains.php");
+		exit;
 	}
 
 //change the domain