Make WordPress Core

Changeset 601 for trunk/wp-pass.php


Ignore:
Timestamp:
12/11/2003 12:22:36 AM (22 years ago)
Author:
saxmatt
Message:

The great renaming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-pass.php

    r458 r601  
    11<?php
    2 
    32/*
    43  This is just a very simple script to set a cookie with a posted password and redirect back from whence the browser came.
     
    65  -- Matt
    76*/
    8 include_once('wp-config.php');
     7require(dirname(__FILE__) . '/wp-config.php');
    98setcookie('wp-postpass_'.$cookiehash, $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
    109header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);
Note: See TracChangeset for help on using the changeset viewer.