Fixed: Check if site is hosted inside a subfolder