mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-02 17:13:20 +02:00
Per registrar currency now fully available
This commit is contained in:
parent
5711546f78
commit
a9e84a855e
20 changed files with 681 additions and 243 deletions
|
@ -208,7 +208,6 @@ $container->set('view', function ($container) {
|
|||
|
||||
// Make it accessible in templates
|
||||
$view->getEnvironment()->addGlobal('currency', $currency);
|
||||
$view->getEnvironment()->addGlobal('registry_currency', $_SESSION['registry_currency']);
|
||||
|
||||
// Check if the user is impersonated from the admin, otherwise default to false
|
||||
$isAdminImpersonation = isset($_SESSION['impersonator']) ? $_SESSION['impersonator'] : false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue