Skip to content

Commit

Permalink
Added registration.php.
Browse files Browse the repository at this point in the history
Try to overcome to magento/magento2#1055.
  • Loading branch information
klinamen committed Jan 5, 2016
1 parent 9a6138a commit 36ba50b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Expand Up @@ -96,7 +96,7 @@ require([
// <![CDATA[
$('#notice-cookie-block').mage('cookieBlock', {
cookieAllowButtonSelector: '#btn-cookie-allow',
cookieName: '<?php echo \Magento\Store\Helper\Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?>',
cookieName: '<?php echo \Magento\Cookie::IS_USER_ALLOWED_SAVE_COOKIE ?>',
cookieValue: '<?php echo $this->helper('Magento\Store\Helper\Cookie')->getAcceptedSaveCookiesWebsiteIds() ?>',
cookieLifetime: <?php echo $this->helper('Magento\Store\Helper\Cookie')->getCookieRestrictionLifetime()?>,
noCookiesUrl: '<?php echo $this->getUrl('cms/index/noCookies') ?>'
Expand Down
10 changes: 10 additions & 0 deletions app/design/frontend/UberTheme/craft/registration.php
@@ -0,0 +1,10 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::THEME,
'frontend/UberTheme/crafts',
__DIR__
);

0 comments on commit 36ba50b

Please sign in to comment.