From 670cf43436ddb8e2d987319c7d41736b458070da Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Tue, 9 Jun 2009 14:05:44 +0200 Subject: [PATCH] Allow to work with the older Browser library too. --- koward/lib/Koward.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koward/lib/Koward.php b/koward/lib/Koward.php index 3cec53c8f..07a8425cf 100644 --- a/koward/lib/Koward.php +++ b/koward/lib/Koward.php @@ -69,6 +69,8 @@ class Koward { /* Browser detection object. */ if (class_exists('Horde_Browser')) { $browser = Horde_Browser::singleton(); + } else if (class_exists('Browser')) { + $browser = Browser::singleton(); } if ($webroot === null) { -- 2.11.0