summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-21 06:42:38 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-21 06:42:38 +0000
commit94e30bf7761f5857945df906ae5ba7da5c2fc9b5 (patch)
treeb7a3c1801f3ba7ef2be6a0a3c0bde0781542a234 /update.php
parent6696028a759b50e5551f471e4d71443744201da4 (diff)
downloadbrdo-94e30bf7761f5857945df906ae5ba7da5c2fc9b5.tar.gz
brdo-94e30bf7761f5857945df906ae5ba7da5c2fc9b5.tar.bz2
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
Diffstat (limited to 'update.php')
-rw-r--r--update.php26
1 files changed, 14 insertions, 12 deletions
diff --git a/update.php b/update.php
index f021cea84..200493fb6 100644
--- a/update.php
+++ b/update.php
@@ -1,19 +1,21 @@
<?php
// $Id$
-/*
-** USAGE:
-**
-** - Point your browser to "http://www.site.com/update.php" and follow
-** the instructions.
-**
-** - If you are not logged in as administrator, you will need to modify the
-** statement below. Change the 1 into a 0 to disable the access check.
-** After finishing the upgrade, open this file and change the 0 back into
-** a 1!
-*/
+
+/**
+ * @file
+ * Administrative page for handling updates from one Drupal version to another.
+ *
+ * Point your browser to "http://www.site.com/update.php" and follow the
+ * instructions.
+ *
+ * If you are not logged in as administrator, you will need to modify the access
+ * check statement below. Change the TRUE into a FALSE to disable the access
+ * check. After finishing the upgrade, be sure to open this file and change the
+ * FALSE back into a TRUE!
+ */
// Disable access checking?
-$access_check = 1;
+$access_check = TRUE;
if (!ini_get("safe_mode")) {
set_time_limit(180);