I'm developing a web application on the same domain as the "production" application -- it's just a sub directory of the top level website. Something like: www.site.com/v3/...
I've seen several people trying to get relative paths working with CodeIgniter -- in the past I had just stuck base_url()
in every HTML image declaration of the "v3" site, but I bought an HTML site template recently and embedding <?php base_url() ?>
in hundreds of HTML tags seems so inefficient.
Hoping someone can help with this -- I'd like to be able to transition the dev code (aka "/v3/") directly into use without searching and replacing all of those HTML references.