Revert "Remove the requirement for a registry entry for content from the"
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 10 Feb 2009 17:06:24 +0000 (12:06 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 10 Feb 2009 17:06:24 +0000 (12:06 -0500)
See Ticket: 7936
This reverts commit 85844520fcbb20506880dc41f29ec15d9ca65f53.

kronolith/lib/Tagger.php

index 99d6da8..7c254cb 100644 (file)
@@ -9,6 +9,11 @@
  * @package Kronolith
  */
 
+// NOTE: For now, autoloading depends on there being a registry entry for the
+//       'content' application.
+
+Horde_Autoloader::addClassPattern('/^Content_/',
+                                  $GLOBALS['registry']->get('fileroot', 'content') . '/lib/');
 
 class Kronolith_Tagger
 {