webERP Forum
door.jpg not working OK - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Development Discussion & Specification (http://www.weberp.org/forum/forumdisplay.php?fid=10)
+---- Forum: CartwebERP (http://www.weberp.org/forum/forumdisplay.php?fid=16)
+---- Thread: door.jpg not working OK (/showthread.php?tid=891)



door.jpg not working OK - PakRicard - 05-14-2013

Hi:

In some scripts there's this line trying to get the door.jpg picture as default if the desired picture is not found.

Code:
$paththispic = "components" . DS . "com_cartweberp" . DS . "images" . DS . "door.jpg";

The door.jpg is at the correct fodler but the CART fails to get it. Should it be an absolute path instead of a relative path?