From: Jan Schneider Date: Fri, 9 Jan 2009 14:26:05 +0000 (+0100) Subject: Fix class name detection. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d19d3bdc2a1085b9983d6ff59e0801ec406d3c83;p=horde.git Fix class name detection. --- diff --git a/framework/Vcs/lib/Horde/Vcs.php b/framework/Vcs/lib/Horde/Vcs.php index a929ba1d0..c4287b327 100644 --- a/framework/Vcs/lib/Horde/Vcs.php +++ b/framework/Vcs/lib/Horde/Vcs.php @@ -107,7 +107,7 @@ class Horde_Vcs */ public function __construct() { - $pos = strpos(get_class($this), '_'); + $pos = strrpos(get_class($this), '_'); $this->_driver = substr(get_class($this), $pos + 1); }