Loading the current language in external script - Joomla! Forum - community, help and support
in joomla 2.5 possible current language of visitor in external script this:
i couldn't find out how language in joomla 3.3.
the framework loads, language defined 'en'.
is bug in 3.3?
code: select all
define('_jexec', 1);
define('jpath_base', realpath(dirname(__file__)));
$mainframe = jfactory::getapplication('site');
$mainframe->initialise();
$jdocument = jfactory::getdocument();
$jdocument->getlanguage();
i couldn't find out how language in joomla 3.3.
the framework loads, language defined 'en'.
is bug in 3.3?
Comments
Post a Comment