summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15b41e9)
raw | patch | inline | side by side (parent: 15b41e9)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Feb 2007 08:05:36 +0000 (08:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Feb 2007 08:05:36 +0000 (08:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5740 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 9fdced5250e418e8726c40ea111742fe761b7f2c..62ef01a1edf71db442e37ef64aa69f8f848f51b2 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
function is_php4()
{
- return (strpos(phpversion(), 4) === 0);
+ return (preg_match('/^4/', phpversion()));
}