Joomla 3 compatibility > DS + strict mode

GK User
Thu Aug 08, 2013 10:49 am
Hi,

This template is not "really" fully compatible with Joomla 3: use of DS constant
In my case, I just replaced DS by DIRECTORY_SEPARATOR and, of course, it works...

Perhaps it should be updated in Joomla 3 package.

Another thing that should perhaps be considered is the following:
The template is not compatible with PHP strict mode for the following reason:
- in gk.framework.php, we can find on line 603 the following code:

Code: Select all
$menu = JSite::getMenu();


Code should be

Code: Select all
$menu = JFactory::getApplication()->getMenu();


Thanks a lot
User avatar
Fresh Boarder

teitbite
Fri Aug 09, 2013 6:06 am
Hi

Thanks for sharing this with us. I'll pass this to programmers.
User avatar
Moderator


cron