|
@@ 135-142 (lines=8) @@
|
| 132 |
|
|
| 133 |
|
// check the theme settings |
| 134 |
|
// If no admin login support, then use default theme |
| 135 |
|
if ('admin' == $this->environmentManager->getSelectedApplication() |
| 136 |
|
&& strpos($this->environmentManager->getRequestUri(), '/auth/login') !== false |
| 137 |
|
&& (!$themeConfig->has('features/admin_login_support') |
| 138 |
|
|| !$themeConfig->getData('features/admin_login_support') |
| 139 |
|
) |
| 140 |
|
) { |
| 141 |
|
$canUseThisTheme = false; |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
if ('admin' == $this->environmentManager->getSelectedApplication() |
| 145 |
|
&& strpos($this->environmentManager->getRequestUri(), '/auth/login') === false |
|
@@ 144-151 (lines=8) @@
|
| 141 |
|
$canUseThisTheme = false; |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
if ('admin' == $this->environmentManager->getSelectedApplication() |
| 145 |
|
&& strpos($this->environmentManager->getRequestUri(), '/auth/login') === false |
| 146 |
|
&& (!$themeConfig->has('features/admin_support') |
| 147 |
|
|| !$themeConfig->getData('features/admin_support') |
| 148 |
|
) |
| 149 |
|
) { |
| 150 |
|
$canUseThisTheme = false; |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if ('admin' != $this->environmentManager->getSelectedApplication() |
| 154 |
|
&& (!$themeConfig->has('features/website_support') |