From deb4f53d36b83cffa42063ea0186fd0babf2f505 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 5 Oct 2009 00:23:48 +0100 Subject: Renamed text/ to webpages/ --- .gitignore | 2 +- atom-excerpt.php | 4 ++-- atom.php | 4 ++-- download-source.php | 2 +- index.php | 2 +- text/example.php | 24 ------------------------ webpages/example.php | 24 ++++++++++++++++++++++++ 7 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 text/example.php create mode 100644 webpages/example.php diff --git a/.gitignore b/.gitignore index abeb62d..685b930 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # contains or links to website content -text/ +webpages/ scripts/ *.gpg.asc diff --git a/atom-excerpt.php b/atom-excerpt.php index 27832e3..fb236e7 100644 --- a/atom-excerpt.php +++ b/atom-excerpt.php @@ -18,9 +18,9 @@ include($_SERVER['DOCUMENT_ROOT'] . "/includes/atom.php"); -atom_header("/text/index.php"); +atom_header("/webpages/index.php"); -create_entries_from_dir("text", false); +create_entries_from_dir("webpages", false); atom_footer(); diff --git a/atom.php b/atom.php index daa0ff3..ad71926 100644 --- a/atom.php +++ b/atom.php @@ -18,9 +18,9 @@ include($_SERVER['DOCUMENT_ROOT'] . "/includes/atom.php"); -atom_header("/text/index.php"); +atom_header("/webpages/index.php"); -create_entries_from_dir("text", true); +create_entries_from_dir("webpages", true); atom_footer(); diff --git a/download-source.php b/download-source.php index 244b482..de3da35 100644 --- a/download-source.php +++ b/download-source.php @@ -18,6 +18,6 @@ include($_SERVER['DOCUMENT_ROOT'] . "/includes/tarball.php"); -return_tarball('njw-website-source', 'includes/ graphics/candles.ico graphics/COPYING text/example.php index.php download-source.php rss.php rss-full.php COPYING'); +return_tarball('njw-website-source', 'includes/ graphics/candles.ico graphics/COPYING webpages/example.php index.php download-source.php rss.php rss-full.php COPYING'); ?> diff --git a/index.php b/index.php index 8d7e965..e86cf11 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -$contentpath = $_SERVER['DOCUMENT_ROOT'] . "/text/" . $_SERVER['REQUEST_URI']; +$contentpath = $_SERVER['DOCUMENT_ROOT'] . "/webpages/" . $_SERVER['REQUEST_URI']; if ( is_dir($contentpath) == TRUE ) $contentpath .= 'index.php'; diff --git a/text/example.php b/text/example.php deleted file mode 100644 index 2a0a6ec..0000000 --- a/text/example.php +++ /dev/null @@ -1,24 +0,0 @@ -. - */ - -$title = 'An example page'; - -$body = '

This is an example page.

'; - -?> diff --git a/webpages/example.php b/webpages/example.php new file mode 100644 index 0000000..2a0a6ec --- /dev/null +++ b/webpages/example.php @@ -0,0 +1,24 @@ +. + */ + +$title = 'An example page'; + +$body = '

This is an example page.

'; + +?> -- cgit v1.2.3