tommcdo/kohana-twig — pull request #9 by enov (2014-11-17 16:10:08+00:00)
Title: use __DIR__ instead of __FILE__ for simplicity

practically, __DIR__ will not contain the trailing slash
so there is no need for `rtrim`.