1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-markdown.git synced 2024-04-25 05:29:27 +03:00

Kohana 3.3 compatibility

This commit is contained in:
Alexander Yakovlev 2013-05-30 12:48:33 +07:00
parent e0e0071949
commit bca01a2a25
2 changed files with 1 additions and 1 deletions

View file

@ -195,7 +195,7 @@ class Kohana_Markdown
return Markdown::$instances[$parser];
}
$config = Kohana::config('markdown');
$config = Kohana::$config->load('markdown');
if (!$config->offsetExists($parser)) {
throw new Kohana_Markdown_Exception('Failed to load Kohana Markdown parser: :parser', array(':parser' => $parser));
}