echo rtrim($s,';').";\n";
}
- #bye($this->db()->type);
if ($type_from == 'mysql') $views = []; # Mysql store sql create view in mysql format wich only works with mysql
echo "\n-- SQL\n";
foreach (array_merge($tables,$views) as $t) {
}
if (!empty($_SERVER['DBQ_CONF_DIR'])) {
+ foreach (explode(' ',$_SERVER['DBQ_CONF_DIR']) as $dir) {
+ $DB_CONFS = array_merge($DB_CONFS,
+ (array)glob($dir.'/*.yml'),
+ (array)glob($dir.'/*.yaml'),
+ (array)glob($dir.'/*.php'),
+ []);
+ }
+/*
$DB_CONFS = array_merge($DB_CONFS,
(array)glob($_SERVER['DBQ_CONF_DIR'].'/*.yml'),
(array)glob($_SERVER['DBQ_CONF_DIR'].'/*.yaml'),
(array)glob($_SERVER['DBQ_CONF_DIR'].'/*.php'),
[]);
+*/
}
if (empty($DB_CONFS)) {