Closed daycry closed 8 years ago
Why don't you just add paths for modules in config? Do you really need to the functionality which adds module path dynamically?
You can set module path dynamically when loading this Twig library. See https://github.com/kenjis/codeigniter-ss-twig#loading-twig-library
I don't want to couple this libary with HMVC. Because it is a simple library.
I think that is better, because you dont need create any config file. On 8 Apr 2016 02:02, "kenjis" notifications@github.com wrote:
Why don't you just add paths for modules in config? Do you really need to the functionality which adds module path dynamically?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/kenjis/codeigniter-ss-twig/pull/13#issuecomment-207143267
@daycry I don't use HMVC as possible. Because it provides more complexity to CodeIgniter. The official CodeIgniter will never support HMVC. So I don't want to couple my Twig library tightly with HMVC.
At least, you need to write test code for your code. The current code coverage is 98.51%, but your PR has no test code, and the coverage is 81.61%.
This file is OK