I'm trying to add a define_queries_XXX.php file to the mysql folder. The define I'm adding is:
Adding the line to define_queries.php works but I don't want to modify that file. I would rather add an additional file to that folder but doing so does not work.Code:DEFINE('SQL_SHOW_PRODUCT_PAGE_TABS',"select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_key RLIKE 'SHOW_PRODUCT_PAGE_TABS' and configuration_value > 0 order by configuration_value");
The code for my file is:
Is this something that can be done with an additional file?Code:if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); } DEFINE('SQL_SHOW_PRODUCT_PAGE_TABS',"select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_key RLIKE 'SHOW_PRODUCT_PAGE_TABS' and configuration_value > 0 order by configuration_value");


Reply With Quote

