Skip to content

Commit

Permalink
Add registration.php with a try catch
Browse files Browse the repository at this point in the history
  • Loading branch information
vpietri committed Dec 4, 2015
1 parent f43bd32 commit b5a2882
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
//By now I have no other solution for a comoposer module :-(
try {
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'ADM_QuickDevBar',
__DIR__
);
} catch (Exception $e) {

}

0 comments on commit b5a2882

Please sign in to comment.