index.php file - textpad vs. wordpad, notepad and MS Word
Posted: Mon Aug 25, 2008 4:45 am
The below text is what appears in Text Pad when opening the index.php with Text Pad:
require('./wordpress/wp-blog-header.php')
(fyi, this is what I want the text file to contain).
In REALITY, the real value of this specific line, related to wordpress is:
require('.wp-blog-header.php');
If I open the same file in notepad, wordpad or MSWord, the text is rendered as:
require('./wp-blog-header.php');
I derive the "real" value of the text in my index.php file by a) view it with notepad; b) view it with word pad; c) view it with MS Word; d) my word press site generates an error in apache's access log on this specific file and line number.
Each of these programs "claim" the value to be:
require('./wp-blog-header.php');
However, opening this file with Text Pad shows:
require('./wordpress/wp-blog-header.php');
I KNOW I AM NOT HALLUCINATING.
I have solved my problem with this (simply don't use Text Pad); however, I would like to use Text Pad. I like many of its features, but this situation is driving me crazy.
Comments????????????????????
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wordpress/wp-blog-header.php');
?>
require('./wordpress/wp-blog-header.php')
(fyi, this is what I want the text file to contain).
In REALITY, the real value of this specific line, related to wordpress is:
require('.wp-blog-header.php');
If I open the same file in notepad, wordpad or MSWord, the text is rendered as:
require('./wp-blog-header.php');
I derive the "real" value of the text in my index.php file by a) view it with notepad; b) view it with word pad; c) view it with MS Word; d) my word press site generates an error in apache's access log on this specific file and line number.
Each of these programs "claim" the value to be:
require('./wp-blog-header.php');
However, opening this file with Text Pad shows:
require('./wordpress/wp-blog-header.php');
I KNOW I AM NOT HALLUCINATING.
I have solved my problem with this (simply don't use Text Pad); however, I would like to use Text Pad. I like many of its features, but this situation is driving me crazy.
Comments????????????????????
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wordpress/wp-blog-header.php');
?>