summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-11-08 13:19:12 +0000
committerDries Buytaert <dries@buytaert.net>2002-11-08 13:19:12 +0000
commitb3abbc4b544cd8b3369924261dae948c1f860246 (patch)
treecbb11bf5dbe06429a147f54f6e8a794df0b69e3e /update.php
parent1ef7f58e8e5e848a3b204b3a9d0875201cf20343 (diff)
downloadbrdo-b3abbc4b544cd8b3369924261dae948c1f860246.tar.gz
brdo-b3abbc4b544cd8b3369924261dae948c1f860246.tar.bz2
Patch by Natrak:
- Modules and themes now use the same functions to find and administer files. - Modules can now be placed in sub-directories. - Theme descriptions can no longer be edited. This will be handled by Dries' theme_conf patch. - Update required to keep old modules enabled.
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 0e338709b..164bc206a 100644
--- a/update.php
+++ b/update.php
@@ -55,7 +55,8 @@ $mysql_updates = array(
"2002-09-17" => "update_40",
"2002-10-13" => "update_41",
"2002-10-17" => "update_42",
- "2002-10-26" => "update_43"
+ "2002-10-26" => "update_43",
+ "2002-11-08" => "update_44"
);
// Update functions
@@ -625,6 +626,10 @@ function update_43() {
update_sql("UPDATE boxes SET type = 1 WHERE type = 2");
}
+function update_44() {
+ update_sql("UPDATE system SET filename = CONCAT('modules/', filename) WHERE type = 'module'");
+}
+
function update_upgrade3() {
update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)");
update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)");