...
In previous version of PrestaShop, there could be situations when you would have to call one of the module's file directly. For instance, when paying with the Cheque module, you would have to reach such a URL: http://localhost/prestashop-14x/myprestashop.com/modules/cheque/payment.php
It is now recommended to avoid directly calling files from the module. While it will still work in v1.5, we strongly advise you to refrain from it, and use this safer URL path: http://localhost/prestashop-15x/myprestashop.com/index.php?fc=module&module=cheque&controller=payment
This is achieved by using FrontController classes in your module. In the example of the Cheque module, the following file has been place in the module's filetree:
/modules/cheque/controllers/front/payment.php
...
With this in place, when calling this URL: http://localhost/prestashop-15x/myprestashop.com/index.php?fc=module&module=cheque&controller=payment
, PrestaShop will automatically load the controller, provided it is correctly placed and named.
...