aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 5bdbbfa..d96fb3a 100644
--- a/index.php
+++ b/index.php
@@ -32,7 +32,7 @@
include "config.inc";
// Minimalist Admin version
-$version = "0.6";
+$version = "0.7";
// Set some variables.
$get_list = "";
@@ -116,7 +116,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
exit;
}
- if (!preg_match('/^[-!#$%&\'*+\\.\/0-9=?A-Z^_{|}~]+' . '@' . '([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,4}$/i', trim($email)))
+ if (!preg_match('/^[-!#$%&\'*+\\.\/0-9=?A-Z^_{|}~]+' . '@' . '([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,10}$/i', trim($email)))
{
print "$error_email_notvalid\n";
print_form();
@@ -198,7 +198,7 @@ function print_footer()
{
global $version;
print "<div id=\"footer\">\n";
- print "Copyright (c) 2005-2011 by <a target=\"blank\" href=\"http://high5.net/\">High5!</a> -- Minimalist Admin v$version</a>\n";
+ print "Copyright (c) 2005-2022 by <a target=\"blank\" href=\"http://high5.net/\">High5!</a> -- Minimalist Admin v$version</a>\n";
print "</div>\n";
print "</body>\n";
print "</html>\n";