|
»Forumlar »SE ? Core Labs
»Forum ve Sayfa Yönlendirme
https://seditio.com.tr/eski1/forums.php?m=posts&q=1675 |
| Author: Kaan, Posted: 2011-12-04 16:09 GMT. |
|
Sitenizde Forum veya Sayfalar? Kapatt?g?n?zda bu uygulama ile Site otomatik olarak Ana Sayfan?za Y?nlendirilicektir. Seditio Ana Dizindeki index.php'nizi Alttakiyle de?i?tirin. Bu Uygulama ile Sayfalar? Kapatt?g?n?zda Sitenizin Ana Sayfas? Otomatik Olarak Foruma D?n??ecektir. : hp]<?PHP /* ==================== Seditio - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=index.php Version=151 Updated=2010-12-04 Type=Core Author=Neocrome Description=Home page loader [END_SED] ==================== */ define('SED_CODE', TRUE); define('SED_INDEX', TRUE); $location = 'Home'; $z = 'index'; require('system/functions.php'); @include('datas/config.php'); if (empty($cfg['mysqlhost']) && empty($cfg['mysqldb'])) { header("Location: install.php"); exit; } require('system/common.php'); switch($m) { default: if ($cfg['disable_page']) { define('SED_FORUMS', TRUE); $location = 'Forums'; $z = 'forums'; require('system/core/forums/forums.inc.php'); } else { require('system/core/index/index.inc.php'); } break; } ?> Sayfalar? Y?nlendirdik ?imdi Forumlar? Kapatal?m Otomatik Olarak Ana Sayfaya Y?nlendirelim. system/core/message/message.inc.php yi a??n Alttakini bulun : hp]case '940': $message = $L['msg940_0']; $body = $L["msg940_1"]; break; Alttakiyle de?i?tirin. : hp]case '940': $message = $L['msg940_0']; $body = $L["msg940_1"]; $rd = 5; $ru = (empty($redirect)) ? "index.php" : base64_decode($redirect); break; B?ylelikle Forumlar? Kapatt?g?n?zda Otomatik olarak ana sayfaya y?nlenecek Forumlar. Not: Bu uygulama Seditio 151+ s?r?mlerde test edilmi?tir. |
| Powered by Seditio | Print version |