Open tonydew opened 11 years ago
I'm thinking about making a subfolder in libraries for it, so it will always be libraries/mahana/mahana.php. What do you think?
I'm not sure what the convention would be in a case like this, but it does feel weird that there is a decidedly non CI type config file in the config folder.
Also, for people following along, there is a temporary work around in the merged Pull Request https://github.com/jrmadsen67/Mahana-Messaging-library-for-CodeIgniter/pull/4
I'm using Modular Extension - HMVC (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc) and Mahana_messaging.php errors out because it can't find the config file.
On line 24 of
Mahana_messaging.php
is the following:With HMVC, where I have installed Mahana as a module, the actual path for me is:
It might be better to require the file with something like:
Although that is a little bit hack-ish and maybe just as error prone.