Code: Select all
class plgSystemLef extends JPlugin
{
public function onAfterInitialise()
{
JLoader::registerNamespace('mylib', JPATH_LIBRARIES);
JLoader::registerPrefix('L', JPATH_LIBRARIES . '/mylib');
JLoader::registerAlias ('LLog', "\mylib\Log");
}
Code: Select all
LLog::anymethod()
Could it be a composer problem ?Class 'LLog' not found