summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-10-05 00:23:48 +0100
committerNick White <git@njw.me.uk>2009-10-05 00:23:48 +0100
commitdeb4f53d36b83cffa42063ea0186fd0babf2f505 (patch)
treef7a46912f771e76d770e0f3f4ded0b317c9f7c09
parent705b1a62a491e76945e1b5a1a1a691552d5993e4 (diff)
downloadnjw-website-source-deb4f53d36b83cffa42063ea0186fd0babf2f505.tar.bz2
njw-website-source-deb4f53d36b83cffa42063ea0186fd0babf2f505.zip
Renamed text/ to webpages/
-rw-r--r--.gitignore2
-rw-r--r--atom-excerpt.php4
-rw-r--r--atom.php4
-rw-r--r--download-source.php2
-rw-r--r--index.php2
-rw-r--r--webpages/example.php (renamed from text/example.php)0
6 files changed, 7 insertions, 7 deletions
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 <http://www.gnu.org/licenses/>.
*/
-$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/webpages/example.php
index 2a0a6ec..2a0a6ec 100644
--- a/text/example.php
+++ b/webpages/example.php