From: Gunnar Wrobel Date: Tue, 9 Jun 2009 12:05:44 +0000 (+0200) Subject: Allow to work with the older Browser library too. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=670cf43436ddb8e2d987319c7d41736b458070da;p=horde.git Allow to work with the older Browser library too. --- 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) {