Константы в Joomla

JPath
  1. JPath is used to get the directory path.
  2. DS -- is used as a directory separator.
  3. JPATH_ADMINISTRATOR-- Sets the path to /Joomla/administrator
  4. JPATH_BASE -- sets the entry to joomla /Joomla
  5. JPATH_CACHE --Sets the cache path /Joomla/cache
  6. JPATH_COMPONENT -- Sets the component path /Joomla/components/com_example
  7. JPATH_COMPONENT_ADMINISTRATOR -- sets the backend component path /Joomla/administrator/components/com_example
  8. JPATH_COMPONENT_SITE-- sets the frontend component path /Joomla/components/com_example
  9. JPATH_CONFIGURATION --sets the configuration.php file path
  10. JPATH_INSTALLATION --The path to the installation folder.
  11. JPATH_LIBRARIES --The path to the libraries folder.
  12. JPATH_PLUGINS --The path to the plugins folder.
  13. JPATH_ROOT --The path to the installed Joomla! site.
  14. JPATH_SITE --The path to the installed Joomla! site.
  15. JPATH_THEMES --The path to the templates folder.
  16. JPATH_XMLRPC --The path to the XML-RPC Web service folder.