Jump to content

[solved] Get installation directory or full product path


Juanu

Recommended Posts

Hi!

 

On My Module, I need to get the product URL, but regardless of being friendly or not, i need to always get the same, so, I decided to use something like:

http://www.mystore.c...troller=product

 

The problem is that i can´t hard-code this because if the installation is in a different directory, it won´t work. so...

 

Here is the question:

How can i get the real product url (not friendly URL) or how to get the current installation path to make the path by myself.

 

Thanks!

Edited by vekia (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...