summaryrefslogtreecommitdiff
path: root/xml-export.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-29 19:06:23 +0100
committerAndrew Dolgov <[email protected]>2005-12-29 19:06:23 +0100
commit4f17b5f973c2bbd8606a624bc82e4fca3e118e26 (patch)
treeb56fc2da6dc40305d72a2cc32f7c7ab48f9825b2 /xml-export.php
parent41765fef9b2db10afec646fa486111d0c01aa64c (diff)
allow xml i/e tools use schema v4
Diffstat (limited to 'xml-export.php')
-rw-r--r--xml-export.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/xml-export.php b/xml-export.php
index b25f50e1b..32b0004d6 100644
--- a/xml-export.php
+++ b/xml-export.php
@@ -1,6 +1,8 @@
<?
session_start();
+ define('MAX_SCHEMA_VERSION', 4);
+
require_once "config.php";
require_once "functions.php";
require_once "db.php";
@@ -64,7 +66,7 @@
print "<schema_version>$schema_version</schema_version>";
- if ($schema_version > 1) {
+ if ($schema_version > MAX_SCHEMA_VERSION) {
$owner_uid = $_SESSION["uid"];
print "<owner_uid>$owner_uid</owner_uid>";
}