Created SQL procedure for Joomla installation.
Fixed site controller.