wtools Posted July 10, 2018 Share Posted July 10, 2018 I have a lang folder and many language files like english.php inside the folder. I can access the language arra from from my_module.php (my module name is my_module) correctly. Using $LANG = $vars['_lang']; But I can't access it from the hooks.php of the addon module. What's the way to access it? 0 Quote Link to comment Share on other sites More sharing options...
edvancombr Posted July 10, 2018 Share Posted July 10, 2018 5 hours ago, wtools said: I have a lang folder and many language files like english.php inside the folder. I can access the language arra from from my_module.php (my module name is my_module) correctly. Using $LANG = $vars['_lang']; But I can't access it from the hooks.php of the addon module. What's the way to access it? Use: global $_LANG; Example 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.