Fabrik/fabrik — pull request #429 by moofoo (2012-08-23 09:59:23+00:00)
Title: fix: model "adaptors" behavior not working

Fabrik wasn't loading the model .php files from the 'adaptors'
sub-directory (in .../com_fabrik/models/). This problem was observed on
a windows server 2008 machine running Apache 2.4.3/PHP 5.4.6.

It's not clear to me why JModel::addIncludePath(JPATH_COMPONENT
.'/models/adaptors') wasn't working to begin with, but using the
controller object's 'addModelPath' function instead seems to do the
trick.

Besides that change, there were two require_once's in model .php files
that were using relative paths when including other php files in the
'models' directory This would cause an error if the user were to copy
those files to the adaptors directory, so I changed them so absolute
paths are used.