wurflObj available in other modules

martin64
15 years, 2 months ago
Using MobileJoomla version 0.8.1.

In the source 'checkmobile_wurfl.php' the object wurlObj is defined as global. However I can't access it in other modules (e.g. mobilebot.php). Can somebody help?
martin64
15 years, 2 months ago
I found a simple solution for my problem.

I added $wurflObj as a global variable in the class 'plgSystemMobileBot' in the source mobilebot.php. It is now possible to access all $wurflObj methods in other sources.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.