I’ve been updating my php files to change all ere and ere deprecated function calls to the new pre_match but I’m having problems with the last one. I’ve posted the code below. Can anyone help?
Thanks in advance
// build session parameter for shared SSL to pass over
if(!ereg(array("ccUser","/admin/"),$_SERVER['PHP_SELF']) && !empty($_SESSION['ccUser']) && $storeURL!==$storeURL_SSL && $config['ssl']==1){
$params['ccUser'] = $_SESSION['ccUser'];
}