JPath ของ Joomla ตัวแปล ที่ถูก define ไว้ใช้ในการอ้างถึง path หลักๆ ของระบบ
โพสต์แล้ว: 07/11/2010 6:37 pm
JPath ของ Joomla ตัวแปล ที่ถูก define ไว้ใช้ในการอ้างถึง path หลักๆ ของระบบ
DS -- ใช้สำหรับขั้น directory แต่ละ directory . เช่น /Joomla/administrator
JPATH_ADMINISTRATOR-- Sets the path to /Joomla/administrator
JPATH_BASE -- sets the entry to joomla /Joomla
JPATH_CACHE --Sets the cache path /Joomla/cache
JPATH_COMPONENT -- Sets the component path /Joomla/components/com_example
JPATH_COMPONENT_ADMINISTRATOR -- sets the backend component path /Joomla/administrator/components/com_example
JPATH_COMPONENT_SITE-- sets the frontend component path /Joomla/components/com_example
JPATH_CONFIGURATION --sets the configuration.php file path
JPATH_INSTALLATION --The path to the installation folder.
JPATH_LIBRARIES --The path to the libraries folder.
JPATH_PLUGINS --The path to the plugins folder.
JPATH_ROOT --The path to the installed Joomla! site.
JPATH_SITE --The path to the installed Joomla! site.
JPATH_THEMES --The path to the templates folder.
JPATH_XMLRPC --The path to the XML-RPC Web service folder.
ที่มา: http://docs.joomla.org
DS -- ใช้สำหรับขั้น directory แต่ละ directory . เช่น /Joomla/administrator
JPATH_ADMINISTRATOR-- Sets the path to /Joomla/administrator
JPATH_BASE -- sets the entry to joomla /Joomla
JPATH_CACHE --Sets the cache path /Joomla/cache
JPATH_COMPONENT -- Sets the component path /Joomla/components/com_example
JPATH_COMPONENT_ADMINISTRATOR -- sets the backend component path /Joomla/administrator/components/com_example
JPATH_COMPONENT_SITE-- sets the frontend component path /Joomla/components/com_example
JPATH_CONFIGURATION --sets the configuration.php file path
JPATH_INSTALLATION --The path to the installation folder.
JPATH_LIBRARIES --The path to the libraries folder.
JPATH_PLUGINS --The path to the plugins folder.
JPATH_ROOT --The path to the installed Joomla! site.
JPATH_SITE --The path to the installed Joomla! site.
JPATH_THEMES --The path to the templates folder.
JPATH_XMLRPC --The path to the XML-RPC Web service folder.
ที่มา: http://docs.joomla.org