Skip to content

Commit

Permalink
Update to the latest version of KB (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Busfreak authored and TimoStahl committed May 11, 2016
1 parent 48ff08d commit 962aa4a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ public function initialize()
//Board
$this->hook->on('template:layout:css', 'plugins/Coverimage/assets/css/board.css');
$this->template->hook->attach('template:board:private:task:after-title', 'coverimage:board/task');


}

public function onStartup()
{
// Translation
$this->on('app.bootstrap', function($container) {
Translator::load($container['config']->getCurrentLanguage(), __DIR__.'/Locale');
});

Translator::load($this->language->getCurrentLanguage(), __DIR__.'/Locale');
}

public function getClasses()
Expand Down

0 comments on commit 962aa4a

Please sign in to comment.