Include a common file in any page

Following is a code to include a common file in any page.

  require_once($_SERVER['DOCUMENT_ROOT']."/config/config.php");