<?php

    function action_logout() {
        global $cfg;
        unset($_SESSION['admin']);
        Header('Location: /'.$cfg['admin']['slug']);
        exit;
    }


?>