Ticket #2022: emit_portfile.php.patch

File emit_portfile.php.patch, 619 bytes (added by yeled@…, 19 years ago)

please apply this patch in www/ for this bug to be *really* resolved.

  • emit_portfile.php

    RCS file: /Volumes/src/cvs/od/proj/darwinports/www/emit_portfile.php,v
    retrieving revision 1.1
    diff -u -r1.1 emit_portfile.php
     
    1515<?php
    1616
    1717//      Read the file as an array of lines
    18 $target = "${DOCUMENT_ROOT}/..${_SERVER['PATH_INFO']}";
     18$target = "${DOCUMENT_ROOT}${_SERVER['PATH_INFO']}";
    1919$lines = @file($target);
    2020if ($lines)
    2121{
     
    7272?>
    7373
    7474        </body>
    75 </html>
    76  No newline at end of file
     75</html>