JPath ของ Joomla ตัวแปล ที่ถูก define ไว้ใช้ในการอ้างถึง path หลักๆ ของระบบ

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: JPath ของ Joomla ตัวแปล ที่ถูก define ไว้ใช้ในการอ้างถึง path หลักๆ ของระบบ

JPath ของ Joomla ตัวแปล ที่ถูก define ไว้ใช้ในการอ้างถึง path หลักๆ ของระบบ

โดย mindphp » 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

ข้างบน