Ignore:
Timestamp:
Dec 13, 2008, 6:35:29 AM (11 years ago)
Author:
ryandesign@…
Message:

MacPorts web site: Delete $MPWEB variable, which was apparently meant to hold the path to the current directory but didn't actually do so in the case where I have a local copy of the site in my Sites folder in my home folder for testing. It's not necessary either because PHP searches for includes relative to the current directory already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/contact.php

    r43266 r43661  
    33    /* $Id$ */
    44    /* Copyright (c) 2007, The MacPorts Project. */
    5     $MPWEB = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']);
    6     include_once("$MPWEB/includes/common.inc");
     5    include_once("includes/common.inc");
    76    print_header('The MacPorts Project -- Contact Us', 'utf-8');
    87?>
Note: See TracChangeset for help on using the changeset viewer.