แก้ไขหน้าหลักอย่างไรครับ พอดีกดเลือกผิดเวลาติดตั้ง
http://www.amazingwrestling.cz.cc/หน้าหลักผมมันจะใ้ห้เลือกว่่าจะไป Ucenter Home หรือ Discuzผมอยากให้คนเข้ามาแล้วเด้งไปอยู่หน้าบรอด discuz เลยต้องไปแ้ก้ตรงไหนครับพอดีเวลาลงผมกดเป็นให้ผู้ชมเลืิอกเอง แทนที่จะกดเป็นเข้า discuz :$ แก้ไขล่าสุดโดย sutouch เมื่อ 2010-2-1 09:28เปิดไฟล์ index.php ค้นหา<?php
if(!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="bbs/index.php";</script>';
}
?>แก้ไขตรงที่ สีแดงนะ อยากให้มันเรียกหน้าไหนก่อนก็แก้มันเสียเลย แค่เนี้ยแหละจ้า
<?php
if(!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="bbs/index.php";</script>';
}
?> ขอบพระคุณครับ
หน้า:
[1]