Php 如何在Joomla2.5中获得管理员路径?
我使用Php 如何在Joomla2.5中获得管理员路径?,php,joomla2.5,Php,Joomla2.5,我使用JURI::base()获取管理路径&它返回 http://localhost/production/index.php 但是,, 我想要我网站的管理员路径, 例如,http://localhost/production/administrator/index.php 如何获取管理员路径?请尝试以下方法 您可以找到更多信息。我很高兴能帮助您。 echo JURI::root().'administrator';
JURI::base()
获取管理路径&它返回
http://localhost/production/index.php
但是,,
我想要我网站的管理员路径,
例如,http://localhost/production/administrator/index.php
如何获取管理员路径?请尝试以下方法
您可以找到更多信息。我很高兴能帮助您。
echo JURI::root().'administrator';