问题描述
我需要从外部文件夹加载网站。
现在我们在主文件夹(public_html/web
)的public_html/index.PHP
子文件夹中有一个wordpress,我们的index.PHP
具有:
<?PHP
/**
* Front to the wordpress application. This file doesn't do anything,but loads
* wp-blog-header.PHP which does and tells wordpress to load the theme.
*
* @package wordpress
*/
/**
* Tells wordpress to load the wordpress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES',true);
/** Loads the wordpress Environment and Template */
require('./web/wp-blog-header.PHP');
让网站保持域www.mydomain.com
在子文件夹中的加载而无需放置www.mydomain.com/web
,现在我们需要更改该文件以加载位于public_html/web2
上的Joomla网站
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)