Created
December 21, 2015 19:31
-
-
Save bka/7c2e615582f4cd519778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$directoryReader = $objectManager->create("\Magento\Framework\Module\Dir\Reader"); | |
$moduleDirectory = $directoryReader->getModuleDir('', 'Vendor_Modulename'); | |
echo "directory of module is ".$moduleDirectory; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment