Moving wp-content folder to public_html

I was able to fix this problem by using this code instead of the one above:

define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content');
define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content');

techhipbettruvabetnorabahisbahis forumuedusedueduseduedusedueduedueduedus