bad font path as a emoncms module
I'm working with emoncms and trying to replace the flot charts with pChart. The charts are used in a module-like way. I've created my own module as a php file, but when I try to use it, I get
Code:
Warning: imagettfbbox(): Invalid font filename in C:\wamp\www\Modules\vis\visualisations\class\pImage.class.php on line 211
If I type in the php file address in my browser, the chart displays perfectly, but within emoncms, it doesn't. I've tried moving the fonts to both the folder the php file is in, and the class php files.
I suspect it has something to do with an address rewrite or something similar and the fix is probably easy, but I can't figure it out.
http://emoncms.org/