TCSdistro Posted October 11, 2010 Share Posted October 11, 2010 Any help with what this means? Deprecated: Function ereg() is deprecated in /home/******/public_html/catalog/admin/configuration.php on line 80 <?php $configuration_query = tep_db_query("select configuration_id, configuration_title, configuration_value, use_function from " . TABLE_CONFIGURATION . " where configuration_group_id = '" . (int)$gID . "' order by sort_order"); while ($configuration = tep_db_fetch_array($configuration_query)) { if (tep_not_null($configuration['use_function'])) { $use_function = $configuration['use_function']; LINE 80 if (ereg('->', $use_function)) { $class_method = explode('->', $use_function); if (!is_object(${$class_method[0]})) { include(DIR_WS_CLASSES . $class_method[0] . '.php'); ${$class_method[0]} = new $class_method[0](); Link to comment Share on other sites More sharing options...
burt Posted October 11, 2010 Share Posted October 11, 2010 http://github.com/osCommerce/oscommerce2/commit/88d550f392d86c02d2fe16d0b93f1de8aa6a6770#diff-2 Link to comment Share on other sites More sharing options...
TCSdistro Posted October 11, 2010 Author Share Posted October 11, 2010 Thanks, That fixed it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.