if ($DIR_SQLITE) {
foreach (nb::ls_dir($DIR_SQLITE,'\.db$') as $file) {
+ if (strpos($file,'_conflict-')) continue;
+
if (isset($host_already_exists["$DIR_SQLITE/$file"])) {
$DBQ[$host_already_exists["$DIR_SQLITE/$file"]]['sql_pre'][] = 'PRAGMA journal_mode=OFF';
continue;
'type' => 'mysql',
'host' => 'admin.izideal.vpn',
#'default_table' => 'oc_users',
- 'default_table' => 'oc_last_files',
+ 'default_table' => 'view_files',
'tables' => [
- 'oc_contact' => [
+ 'view_contact' => [
#'sql' => "SELECT * FROM oc_contacts_cards_properties",
'sql' => "SELECT c.id"
#.",org.value as org"
,
'row_parse_pre' => 'owncloud_row_parse',
],
- 'oc_last_files' => [
+ 'view_files' => [
'sql' => "SELECT path,mtime FROM oc_filecache WHERE path NOT LIKE 'files_versions/%' ORDER BY fileid DESC LIMIT 10",
'row_parse_pre' => function(&$r) {
$r['mtime'] = date ("Y-m-d H:i:s",$r['mtime']);