sirbeagle
unread,Feb 28, 2011, 7:14:08 PM2/28/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jqmPhp
Out of the box I had a problem getting jqmPhp setup and it turned out
to be the path to the lib folder. Just for simplicity sake I changed
one line in pqmPhp.php:
original line 25:
define('JQMPHP_PATH', 'lib/', true);
proposed line 25:
define('JQMPHP_PATH', realpath(dirname(__FILE__) . '/../lib/') . '/',
true);
I'm using the line numbers from revision 11 of the SVN repo.
I think this change should make things reasonably "portable" without
having to set any weird paths. For a project I'm working on I have the
jqmPhp library in a completely different folder and this line change
makes things work smoothly. Would this change help out?
Also I realize that it would be easier to use the __DIR__ constant but
I wanted to maintain compatibility with PHP 5.2.x.
Thanks!