Edit: /var/softaculous/redax/_upgrade.php (4790B)
')){
// We need the Database Prefix to upgrade
$file = sfile($__settings['softpath'].'/config.php');
if(empty($file)){
$error[] = 'Could not read the config file to get the database prefix.';
return false;
}
preg_replace('/("|\')prefix("|\')(\s*?)=>(\s*?)("|\')(.*?)("|\'),/ies', '$__settings[\'dbprefix\'] = trim(\'$6\')', $file);
preg_replace('/("|\')salt("|\')(\s*?)=>(\s*?)("|\')(.*?)("|\')/ies', '$__settings[\'salt\'] = trim(\'$6\')', $file);
//Configure the files the software wants to
sconfigure('config.php');
}
return true;
}
?>