Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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: 2825
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: PHP Notice: Use of undefined constant SERVER_NAME

Unread post by admin »

no worries
Post Reply