aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormischa <mischa@rx.high5.nl>2022-05-16 21:47:32 +0200
committermischa <mischa@rx.high5.nl>2022-05-16 21:47:32 +0200
commit2b18d5c4dd4ab6cfc24a5893483465b8fbea3354 (patch)
tree2925a947bbfb06be8518103a75aec05f42774d56
parente6a83a4efd455c76e732c16f22b7b0ff914d84b4 (diff)
longer .tld supportHEADmaster
-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";