刚装的Discuz和Uc集成包
本来正常情况下应该是直接打开 http://localhost/uc/upload 就可以了 这个目录下有index.php文件,应该是默认打开的啊。
可是呢,现在打开的却是 http://localhost/uc/upload/home/index.php 不知道为什么啊 大家帮帮忙 谢了
home 文件里也有index.php
本来正常情况下应该是直接打开 http://localhost/uc/upload 就可以了 这个目录下有index.php文件,应该是默认打开的啊。
可是呢,现在打开的却是 http://localhost/uc/upload/home/index.php 不知道为什么啊 大家帮帮忙 谢了
home 文件里也有index.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="Comsenz Inc." name="Copyright" />
<title>首页</title>
<style>
body{margin:0;background:#DEEFF9 url(bg.jpg) repeat-x;color:#666; font:10px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, "宋体" ,sans-serif; }
#wrap{margin:200px auto;width:437px;}
#menu{background:url(logo.jpg) no-repeat;width:437px; height:127px;}
#menu ul{ list-style:none;margin:0px;padding:0;}
#menu li{ float:left;}
#menu a{ display:block; width:214px; height:127px; text-indent:-999px; overflow:hidden;}
#copyright{text-align:center; line-height:30px; height:30px; }
#copyright a{ color:#004B96; text-decoration:none;}
</style>
<?phpif(!file_exists('./install/install.lock') && is_dir('./install')) {
echo '<script>location.href="install/index.php";</script>';
}
if(file_exists('./bbs/forumdata/index.lock')) {
echo '<script>location.href="bbs/index.php";</script>';
}
if(file_exists('./home/data/index.lock')) {
echo '<script>location.href="home/index.php";</script>';
}
?>
</head>
<body scroll="no">
<div id="wrap">
<div id="menu">
<ul>
<li><a href="home" title="网络家园">网络家园</a></li>
<li><a href="bbs" title="交流论坛">交流论坛</a></li>
</ul>
</div>
<div id="copyright">
© 2001 - 2008 <a href="http://www.comsenz.com" title="Comsenz Inc." target="_blank">Comsenz Inc.</a>
</div>
</div>
</body>
</html>
这些是uc/upload下的index.php代码