Allow to work with the older Browser library too.
authorGunnar Wrobel <p@rdus.de>
Tue, 9 Jun 2009 12:05:44 +0000 (14:05 +0200)
committerGunnar Wrobel <p@rdus.de>
Tue, 9 Jun 2009 12:05:44 +0000 (14:05 +0200)
koward/lib/Koward.php

index 3cec53c..07a8425 100644 (file)
@@ -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) {