X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   'Creating custom email notifications' dev doc (https://forum.x-cart.com/showthread.php?t=77548)

vasilis 01-27-2020 02:39 AM

Re: 'Creating custom email notifications' dev doc

You don't need to do this from the var directory. I work with the classes directory directly. And yes using IDE otherwise it will be impossible to follow the code.
Indeed Steve, I noticed that as well in I can trace code from inside the /classes directory. According though to the developer's articles, the php scripts are executed from inside the var/run/classes directory after they have been cached by the decorator during a store re-deployment. So, I wonder how come the tracing in the IDE can take place from inside the /classes directory, which is of course is a good thing.

cflsystems 01-27-2020 03:50 AM

Re: 'Creating custom email notifications' dev doc
This has been the case for every XC version. You shouldn't work off of the var/run directory as this contains modified files ran through the decorator. You need to work with the actual raw classes.
In fact you should set your IDE to ignore the entire var directory as you don't want it to be indexing and searching files off of there.

All times are GMT -8. The time now is 03:59 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.