* Got bored and copied all the validate.php and define() stuff to 1.1
[squirrelmail.git] / functions / display_messages.php
index 54e9b24329ab3b81675c606c5dfb4c899b05ed8a..89305b7299f280f7ab6158b66a36fde24035b966 100644 (file)
@@ -8,7 +8,9 @@
     ** $Id$
     **/
 
-    $display_messages_php = true;
+    if (defined ('display_messages_php'))
+       return; 
+    define ('display_messages_php', true); 
 
     function error_username_password_incorrect($color) {
       echo '<BR>';