Location: PHPKode > scripts > WH Board > wh_board/framework/controller.php
<?php

    function connect() {
        include('framework/mysql.php');
        }


    function disconnect() {
        if($_SESSION['signed_in'] == TRUE) {

            $_SESSION['signed_in']  = NULL;
            $_SESSION['user_id']    = NULL;
            $_SESSION['user_name']  = NULL;

            $_SESSION = array();
            }

        session_unset();
        session_destroy();

        if(!isset($connect))
        return;

        mysql_close($connect);
        }

?>
Return current item: WH Board