Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以前JURI::base()は管理パスを取得していましたが、それが返されます。
JURI::base()
http://localhost/production/index.php
しかし、たとえば、サイトの管理パスが必要ですhttp://localhost/production/administrator/index.php
http://localhost/production/administrator/index.php
管理パスを取得するにはどうすればよいですか?
以下を試してください。続きを読む
echo JURI::root().'administrator';
詳細については、こちらをご覧ください。