summaryrefslogtreecommitdiff
path: root/modules/page.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-14 19:41:18 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-14 19:41:18 +0000
commite22f1042fc6debde9eb448efd64321b1a740fda3 (patch)
tree9cdc1746d10646674b176ba90010d3c9e21cf837 /modules/page.module
parent8ec1018384d1a5f66e1c74728f185ee2fc803c06 (diff)
downloadbrdo-e22f1042fc6debde9eb448efd64321b1a740fda3.tar.gz
brdo-e22f1042fc6debde9eb448efd64321b1a740fda3.tar.bz2
- 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.
Diffstat (limited to 'modules/page.module')
-rw-r--r--modules/page.module3
1 files changed, 1 insertions, 2 deletions
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 @@
<?php
-global $format;
-$format = array(0 => "HTML", 1 => "PHP", 2 => "text");
+$GLOBALS[format] = array(0 => HTML, 1 => PHP, 2 => text);
function page_view($node, $main = 0) {
global $format, $theme;