Skip to content

Commit

Permalink
Need to bind the Content classes now that we use Tagger.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 10, 2017
1 parent 0dd5d4b commit 21d2f04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jonah/lib/Application.php
Expand Up @@ -50,6 +50,14 @@ protected function _init()
'title' => 'RSS 0.91'
));
}

/* For now, autoloading the Content_* classes depend on there being a
* registry entry for the 'content' application that contains at least
* the fileroot entry. */
$GLOBALS['injector']->getInstance('Horde_Autoloader')
->addClassPathMapper(
new Horde_Autoloader_ClassPathMapper_Prefix('/^Content_/', $GLOBALS['registry']->get('fileroot', 'content') . '/lib/'));

}

/**
Expand Down

0 comments on commit 21d2f04

Please sign in to comment.