0

I have the following Jumi code in Joomla 1.5

enter image description here

Now I want to refer the image location from my media files /home/content/49/6333949/html/images/posters which is Media/images/posters.

Are there any PHP variables to get this full path without hardcoding it?

Dims
  • 47,675
  • 117
  • 331
  • 600
  • Don't you think that this outdated piece of software should run down /dev/null? If used in the internet any site using Joomla 1.5 is a well documented security risk. – lars k. Aug 05 '14 at 10:24

1 Answers1

1

If you want to get the root path of a joomla website, You can use the following stuff :

"JURI::base()" : is a methode for get the HTTP path of you project;
"JPATH_BASE" : is a constant to get the real path of you project;

moDevsome
  • 189
  • 2
  • 16