Added basePath property.
Use FOUNDRY_JOOMLA_URI constant.