X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fdelete_message.php;h=a46f96e45b841d41a4b64e929a94ed6a1433ad7b;hb=190dc452bedb05364a6f5842142b5e484995b1ca;hp=c70877a3748be183a00168daff050e11a6469be8;hpb=47ccfad452e8d345542d09e59112cac317cffed8;p=squirrelmail.git diff --git a/src/delete_message.php b/src/delete_message.php index c70877a3..a46f96e4 100644 --- a/src/delete_message.php +++ b/src/delete_message.php @@ -12,17 +12,9 @@ */ /** - * Path for SquirrelMail required files. - * @ignore + * Include the SquirrelMail initialization file. */ -define('SM_PATH','../'); - -/* SquirrelMail required files. */ -require_once(SM_PATH . 'include/validate.php'); -include_once(SM_PATH . 'functions/display_messages.php'); - -global $color; -error_box('delete_message.php script is obsolete since 1.5.1.',$color); - -?> - \ No newline at end of file +include('../include/init.php'); +error_box('delete_message.php script is obsolete since 1.5.1.'); +$oTemplate->display('footer.tpl'); +?> \ No newline at end of file