Using Slim 2 - Old setup - Giving wrong path - Please help!


#1

So I’ve inherited a project stuck in an old environment which I cannot upgrade right now. I know, I know…

I have a script that is getting the incorrect path information and I need help sorting this out please.

It’s Slim 2.6.1

Paths are spitting out like this = http://domain.com/subfolder/app/ when they should be domain.com/app

Again, old setup - using php 5.4 // ugh…

It’s an old host with add-on domains but path is referencing the domain folder as a sub folder and I’m stumped.