File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
app/code/Magento/Backend/App Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ public function __construct(
47
47
\Magento \Backend \App \Config $ config ,
48
48
DeploymentConfig $ deploymentConfig ,
49
49
\Magento \Backend \Model \UrlInterface $ backendUrl
50
- )
51
- {
50
+ ) {
52
51
$ this ->config = $ config ;
53
52
$ this ->defaultFrontName = $ deploymentConfig ->get (ConfigOptionsList::CONFIG_PATH_BACKEND_FRONTNAME );
54
53
$ this ->backendUrl = $ backendUrl ;
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ public function process(\Magento\Framework\App\RequestInterface $request)
52
52
53
53
if ($ areaFrontName == $ this ->helper ->getAreaFrontName ()) {
54
54
$ baseUrl = $ this ->backendUrl ->getBaseUrl ();
55
- if (!stripos ($ baseUrl , $ _SERVER ['HTTP_HOST ' ]) === false )
56
- {
55
+ if (!stripos ($ baseUrl , $ _SERVER ['HTTP_HOST ' ]) === false ) {
57
56
$ moduleName = $ this ->routeConfig ->getRouteFrontName ('adminhtml ' );
58
57
$ actionNamespace = 'noroute ' ;
59
58
$ actionName = 'index ' ;
You can’t perform that action at this time.
0 commit comments