mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
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:
@@ -370,8 +370,3 @@ function is_email($email) {
|
||||
$domain = '[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])'; // one domain component
|
||||
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
|
||||
|
||||
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user