From e22f1042fc6debde9eb448efd64321b1a740fda3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 14 May 2001 19:41:18 +0000 Subject: - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module"). Note that - when upgrading - you have to rename all your existing configuration files to reflect this change: yourdomain.com.conf -> yourdomain.com.php By default, i.e. if no configuration file is found, setting.php will be used instead. Using the ".php"-extension will fix most configuration/security issues with .htaccess-files ... - Removed some dead code from forum.module. --- modules/page.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/page.module') diff --git a/modules/page.module b/modules/page.module index 4ee31c81f..c1c380a11 100644 --- a/modules/page.module +++ b/modules/page.module @@ -1,7 +1,6 @@ "HTML", 1 => "PHP", 2 => "text"); +$GLOBALS[format] = array(0 => HTML, 1 => PHP, 2 => text); function page_view($node, $main = 0) { global $format, $theme; -- cgit v1.2.3