root folder path in joomla
- March 12th, 2009
- Write comment
to get the root folder path in joomla you can put JPATH_ROOT
to get the folders separator DS
finally your statement should be like this :
require_once(JPATH_ROOT.DS.”thefileyouwanttoinclude.php”);
or you can also use the JURI::base() for img use
good luck