Skip to content

Instantly share code, notes, and snippets.

@tdreyno
Created August 14, 2009 17:50
Show Gist options
  • Save tdreyno/167985 to your computer and use it in GitHub Desktop.
Save tdreyno/167985 to your computer and use it in GitHub Desktop.
<?php
$thishost=$_SERVER['SERVER_NAME'];
if ($thishost == "software.intel.com") {
$path = ".";
// $path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/inc/intel-footer.php";
include_once($path);
} else {
$path = ".";
// $path .= "/inc/footer.php";
$path .= "/inc/intel-footer.php";
include_once($path);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment