We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8d0fe commit d8e1708Copy full SHA for d8e1708
1 file changed
Config/Config.php
@@ -4,6 +4,7 @@
4
5
use Magento\Framework\App\Config\ScopeConfigInterface;
6
use Magento\Framework\View\Element\Block\ArgumentInterface;
7
+use Magento\Store\Model\ScopeInterface;
8
9
class Config implements ArgumentInterface
10
{
@@ -14,6 +15,9 @@ public function __construct(
14
15
16
public function isDebug(): bool
17
- return (bool)$this->scopeConfig->getValue('loki_components/general/debug');
18
+ return (bool)$this->scopeConfig->getValue(
19
+ 'loki_components/general/debug',
20
+ ScopeInterface::SCOPE_STORE
21
+ );
22
}
23
0 commit comments