Blame Scripts/Php/Webenv/admin/p_categories_add.php

878a2b
878a2b
//--------------------/* Show error if called directly */
878a2b
878a2b
    if ( basename($_SERVER['PHP_SELF']) <> 'index.php')
878a2b
    {
878a2b
        echo '

Sorry, this page can\'t be served directly. ';

878a2b
        echo 'Try this instead.';
878a2b
        exit;
878a2b
    }
878a2b
878a2b
//---- Do action and grab results
878a2b
878a2b
    if (isset($_POST['action']))
878a2b
    {
878a2b
        $message = admin_categories();
878a2b
        if (isset($message))
878a2b
        {
878a2b
            echo $message;
878a2b
        }
878a2b
    }
878a2b
878a2b
?>
878a2b
878a2b

878a2b
878a2b