예제 #1
0
                        unset($nav_arr[$k]);
                    }
                }
            }
        }
        $this->_nav_list = $nav_arr;
    }
    function init_session()
    {
        keke_session_class::get_instance();
        if ($_REQUEST['PHPSESSID'] && ($session_id = $_REQUEST['PHPSESSID']) != session_id()) {
            session_destroy();
            session_id($session_id);
            session_start();
        }
    }
    function init_out_put()
    {
        $_SERVER['REQUEST_METHOD'] == 'GET' && !empty($_SERVER['REQUEST_URI']) and kekezu::filter_xss();
        ob_start();
        header("Content-Type:text/html; charset=" . CHARSET);
    }
}
$ipath = dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "keke_kppw_install.lck";
file_exists($ipath) == true or header("Location: install/index.php");
kekezu::register_autoloader();
$kekezu =& kekezu::get_instance();
keke_lang_class::load_lang_class('keke_core_class');
$_cache_obj = $kekezu->_cache_obj;
$page_obj = $kekezu->_page_obj;
$template_obj = $kekezu->_tpl_obj;