module-profiler icon indicating copy to clipboard operation
module-profiler copied to clipboard

Change root.phtml view to use Magento getViewFileUrl

Open zack6849 opened this issue 6 years ago • 0 comments

Swap to use getViewFileUrl

Using magento 2.1.10 with composer your module failed to load for me, complaning it couldn't find files because in production mode your profiler isn't expecting the DIR for root.phtml to be in /var/view_processed.

Switching to this method should ensure that your module won't fail on production mode, at least not for the above reason.

zack6849 avatar Jun 25 '18 11:06 zack6849