summaryrefslogtreecommitdiff
path: root/roundcubemail/bin/dumpschema.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-07 18:32:56 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-07 18:32:56 +0000
commit0619181f40510dcb2429573dda0bf3cdcc5cd57f (patch)
tree93b3988b56fe9d0e3a687a7f7090cbb4e8f939ec /roundcubemail/bin/dumpschema.php
parent6ebc22a4c0f2df8f3e0c41dba4e375dd232559be (diff)
- added bin/killcache.php script (#1485434)
- added copyrights disclaimers git-svn-id: https://svn.roundcube.net/trunk@1954 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/bin/dumpschema.php')
-rw-r--r--roundcubemail/bin/dumpschema.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/roundcubemail/bin/dumpschema.php b/roundcubemail/bin/dumpschema.php
index 53c688c3d..9c9c7b81b 100644
--- a/roundcubemail/bin/dumpschema.php
+++ b/roundcubemail/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();