summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a3c1d5)
raw | patch | inline | side by side (parent: 4a3c1d5)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Feb 2007 08:04:58 +0000 (08:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Feb 2007 08:04:58 +0000 (08:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5739 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 1d8c1ff6dd736b52458d29677ee5881c25430fc0..3f6025ecb38506fdbeada6d1c3914bb1b93d5c45 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
function is_php4()
{
- return (strpos(phpversion(), 4) === 0);
+ return (preg_match('/^4/', phpversion()));
}