Make WordPress Core


Ignore:
Timestamp:
02/02/2008 06:42:09 PM (16 years ago)
Author:
ryan
Message:

Some notice fixes from Nazgul. fixes #3155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r6343 r6711  
    11<?php // Do not delete these lines
    2     if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
     2    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    33        die ('Please do not load this page directly. Thanks!');
    44
Note: See TracChangeset for help on using the changeset viewer.