Line 84:
require(DIR_WS_CLASSES . 'order.php');
Should be:
require_once(DIR_WS_CLASSES . 'order.php');
Line 84:
require(DIR_WS_CLASSES . 'order.php');
Should be:
require_once(DIR_WS_CLASSES . 'order.php');
What's the use-case scenario where you're triggering a need for this?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Whenever a script appears to need a "require_once" it suggests that there's some sort of "loop" going on that ought not to be there.
So, merely changing from "require" to "require_once" would only be a cheap bandage to a potentially bigger root cause.
Hence the request for more information.
Without further information substantiating your "bug report", it suggests that perhaps your issue is really related to changes you've made elsewhere that need some refining.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks