coder
coder

Reputation: 701

How to get admin path in joomla 2.5?

I used JURI::base() to get the admin path & it returns,

http://localhost/production/index.php

but, I want the admin path of my site, for e.g. http://localhost/production/administrator/index.php

How can I get the admin path ?

Upvotes: 1

Views: 2000

Answers (1)

Techie
Techie

Reputation: 45124

Try the below. Read more

echo JURI::root().'administrator';

You can find more info here.

Upvotes: 3

Related Questions