projects
/
infodrom.org
/
www.zeitungsliste.de
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No need to declare superglobals global
[infodrom.org/www.zeitungsliste.de]
/
lib
/
misc.inc
diff --git
a/lib/misc.inc
b/lib/misc.inc
index
55cf877
..
dedf635
100644
(file)
--- a/
lib/misc.inc
+++ b/
lib/misc.inc
@@
-1,9
+1,7
@@
-<?
+<?
php
function ajax_check_email()
{
function ajax_check_email()
{
- global $POST;
-
include_once('extern/rfc822.php');
if (!empty($_POST['email']) && is_valid_email_address($_POST['email']))
include_once('extern/rfc822.php');
if (!empty($_POST['email']) && is_valid_email_address($_POST['email']))
@@
-11,5
+9,3
@@
function ajax_check_email()
return false;
}
return false;
}
-
-?>
\ No newline at end of file