I have a few extra database tables for some custom code. In order to move as much custom code as possible from out-of-the-box Zen Cart files, I moved the defines for the custom table names out of the core file (includes/database_tables.php) and into a separate file in includes/extra_datafiles/my_defines.php. Now admin queries fail because the custom table names are not defined. Why? How can I keep these defines out of core code? Do I need to duplicate the my_defines.php file in admin/includes/extra_datafiles/? Still trying to integrate my code into zc v1.5.6a. PHP v 7.1.x.
Bookmarks