mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Rename functions (avoid conflict with WordPress)
This commit is contained in:
@@ -730,7 +730,7 @@ function password_file() {
|
||||
* @param string
|
||||
* @return bool
|
||||
*/
|
||||
function is_email($email) {
|
||||
function is_mail($email) {
|
||||
$atom = '[-a-z0-9!#$%&\'*+/=?^_`{|}~]'; // characters of local-name
|
||||
$domain = '[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])'; // one domain component
|
||||
$pattern = "$atom+(\\.$atom+)*@($domain?\\.)+$domain";
|
||||
|
Reference in New Issue
Block a user