summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58202d8)
raw | patch | inline | side by side (parent: 58202d8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Aug 2006 06:34:28 +0000 (06:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Aug 2006 06:34:28 +0000 (06:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4365 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index ab9d4e8bbd4bd2077f8a0ab59f344da88c33e026..4c909b7d122ef8a1551140a005df1c9537df453f 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
/* Simple is domain check, it checks if the given string looks like "string(...).string" */
function is_domain($str)
{
- return(preg_match("/^([a-z0-9i\-]*)\.[a-z0-9]$/i",$str));
+ return(preg_match("/^([a-z0-9i\-]*)\.[a-z0-9]*$/i",$str));
}