1
0
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:
Jakub Vrana
2010-10-16 15:47:51 +02:00
parent 207673f06c
commit 1cf374bf48
4 changed files with 5 additions and 5 deletions

View File

@@ -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";