changing the document root to the root of the magento folder