From 9e987ef0f403efda60210ff508d435211a5e9828 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 2 Sep 2016 11:03:47 +0100 Subject: [PATCH] bin/dbq-dir2sqlite --- etc/dbs.php | 16 ++++++++++++++++ etc/dbs.yaml | 9 +-------- etc/dbs/nb.php | 3 +-- etc/dbs/wp.php | 2 +- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/etc/dbs.php b/etc/dbs.php index 4b0fc1e7..11a7c7e7 100644 --- a/etc/dbs.php +++ b/etc/dbs.php @@ -1,4 +1,5 @@ diff --git a/etc/dbs.yaml b/etc/dbs.yaml index defbc91e..0fc34a49 100644 --- a/etc/dbs.yaml +++ b/etc/dbs.yaml @@ -44,13 +44,6 @@ izi-dev: postfix: title: Postfix on Izideal - host: mail.izideal.vpn + host: admin.izideal.vpn user: postfix type: mysql - -owncloud: - host: /home/owncloud/data/owncloud.db - #host: /dev/shm/owncloud.db - #host: /opt/owncloud/data/owncloud.db - type: sqlite - default_table: oc_users diff --git a/etc/dbs/nb.php b/etc/dbs/nb.php index c1f06de7..e3a442d9 100644 --- a/etc/dbs/nb.php +++ b/etc/dbs/nb.php @@ -1,6 +1,5 @@ 'admin.izideal.vpn', 'type' => 'mysql', @@ -11,7 +10,7 @@ $CONF['nb'] = array( ); $CONF['nb-sqlite'] = array ( - 'pdo' => 'sqlite:'.nb::untilde('~nico/ownCloud/var/lib/sqlite/nb.db'), + 'host' => "$DIR_SQLITE/nb.db", 'type' => 'sqlite', '_import' => '_rent', ); diff --git a/etc/dbs/wp.php b/etc/dbs/wp.php index fcb1202c..f13220b2 100644 --- a/etc/dbs/wp.php +++ b/etc/dbs/wp.php @@ -22,7 +22,7 @@ if (false and !empty($GLOBALS['wpdb'])) { } $CONF['wp-sqlite'] = array ( - 'host' => nb::untilde('~nico/ownCloud/var/lib/sqlite/wp.db'), + 'host' => "$DIR_SQLITE/wp.db", 'type' => 'sqlite', '_import' => '_wp', ); -- 2.47.3