Changeset 294


Ignore:
Timestamp:
Apr 22, 2007, 3:00:12 AM (17 years ago)
Author:
geofft
Message:
I'm stupid. A file name is not a file pointer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vhosts/server.php

    r293 r294  
    77if ($req == '/robots.txt') {
    88        header('Content-Type: text/plain');
    9         fpassthru('/afs/athena.mit.edu/contrib/scripts/web_scripts/robots.txt');
     9        file_get_contents('/afs/athena.mit.edu/contrib/scripts/web_scripts/robots.txt');
    1010        exit;
    1111}
Note: See TracChangeset for help on using the changeset viewer.