Move unused function
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1030 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
12f83b1aed
commit
676e168ba6
|
@ -370,8 +370,3 @@ function is_email($email) {
|
||||||
$domain = '[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])'; // one domain component
|
$domain = '[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])'; // one domain component
|
||||||
return eregi("^$atom+(\\.$atom+)*@($domain?\\.)+$domain\$", $email);
|
return eregi("^$atom+(\\.$atom+)*@($domain?\\.)+$domain\$", $email);
|
||||||
}
|
}
|
||||||
|
|
||||||
function email_header($header) {
|
|
||||||
// iconv_mime_encode requires PHP 5, imap_8bit requires IMAP extension
|
|
||||||
return "=?UTF-8?B?" . base64_encode($header) . "?="; //! split long lines
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
function email_header($header) {
|
||||||
|
// iconv_mime_encode requires PHP 5, imap_8bit requires IMAP extension
|
||||||
|
return "=?UTF-8?B?" . base64_encode($header) . "?="; //! split long lines
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue