Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

PHP Notice: Use of undefined constant SERVER_NAME

Post Reply
clinterman
Posts: 24
Joined: Thu Apr 05, 2012 7:53 am

PHP Notice: Use of undefined constant SERVER_NAME

Unread post by clinterman »

My php_error.log file is full of PHP Notice: Use of undefined constant SERVER_NAME and other constants.
Is it possible in the next release to replace $base_host = $_SERVER[SERVER_NAME]; with $base_host = $_SERVER['SERVER_NAME']; so that these notifications will no longer appear?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: PHP Notice: Use of undefined constant SERVER_NAME

Unread post by admin »

no worries
Post Reply