Rename app.php to wp-app.php and change references. fixes #4168

git-svn-id: https://develop.svn.wordpress.org/trunk@5286 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-19 03:03:31 +00:00
parent baff4f7040
commit 0eb151d441
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php
/*
* app.php - Atom Publishing Protocol support for WordPress
* wp-app.php - Atom Publishing Protocol support for WordPress
* Original code by: Elias Torres, http://torrez.us/archives/2006/08/31/491/
* Modified by: Dougal Campbell, http://dougal.gunters.org/
*
@ -28,7 +28,7 @@ if ($use_querystring) {
$_SERVER['PATH_INFO'] .= "/$eid";
}
} else {
$_SERVER['PATH_INFO'] = str_replace( '/app.php', '', $_SERVER['REQUEST_URI'] );
$_SERVER['PATH_INFO'] = str_replace( '/wp-app.php', '', $_SERVER['REQUEST_URI'] );
}
$app_logging = 0;
@ -270,7 +270,7 @@ class AtomServer {
var $MEDIA_SINGLE_PATH = "attachment";
var $params = array();
var $script_name = "app.php";
var $script_name = "wp-app.php";
var $media_content_types = array('image/*','audio/*','video/*');
var $atom_content_types = array('application/atom+xml');