summaryrefslogtreecommitdiff
path: root/bin/dumpschema.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-07 18:32:56 +0000
committeralecpl <alec@alec.pl>2008-10-07 18:32:56 +0000
commit155bbb8df6332bc6a9b629f62d1725840f8d89ea (patch)
treeeb51a2ef74e2624b140545692b650571a2177a1e /bin/dumpschema.php
parenta22cb65adbde7e7b101d2c950b617eaec6f5c790 (diff)
- added bin/killcache.php script (#1485434)
- added copyrights disclaimers
Diffstat (limited to 'bin/dumpschema.php')
-rw-r--r--bin/dumpschema.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/bin/dumpschema.php b/bin/dumpschema.php
index 53c688c3d..9c9c7b81b 100644
--- a/bin/dumpschema.php
+++ b/bin/dumpschema.php
@@ -1,4 +1,23 @@
<?php
+/*
+
+ +-----------------------------------------------------------------------+
+ | bin/dumpschema.php |
+ | |
+ | This file is part of the RoundCube Webmail client |
+ | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland |
+ | Licensed under the GNU GPL |
+ | |
+ | PURPOSE: |
+ | Dumps database schema in XML format using MDB2_Schema |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Thomas Bruederli <roundcube@gmail.com> |
+ +-----------------------------------------------------------------------+
+
+ $Id$
+
+*/
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
require INSTALL_PATH.'program/include/iniset.php';
@@ -44,7 +63,7 @@ else {
// 'output_mode' => 'file',
'output' => 'print_schema',
);
-
+
$definition = $schema->getDefinitionFromDatabase();
if (PEAR::isError($definition)) {
$error = $definition->getMessage() . ' ' . $definition->getUserInfo();