WordPress PHP modifications
From Jay's Cafe' Wiki
Revision as of 08:48, 14 October 2019 by Jayctheriot (talk | contribs) (Created page with "<pre> if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) || (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) { $_SERVER['HTTPS'] = 'on'; } /** * Disable security restri...")
if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) || (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) { $_SERVER['HTTPS'] = 'on'; } /** * Disable security restrictions on file uploads */ define(‘ALLOW_UNFILTERED_UPLOADS’, true);