mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
debug
This commit is contained in:
parent
6d376df00a
commit
7ae7ccbe49
1 changed files with 4 additions and 1 deletions
|
|
@ -210,7 +210,10 @@ App::post('/v1/projects')
|
|||
$sharedTablesV1 = \in_array($dsn->getHost(), $sharedTablesV1);
|
||||
$sharedTablesV2 = !$projectTables && !$sharedTablesV1;
|
||||
$sharedTables = $sharedTablesV1 || $sharedTablesV2;
|
||||
|
||||
var_dump($dsn->getHost());
|
||||
var_dump($projectTables);
|
||||
var_dump($sharedTablesV1);
|
||||
var_dump($sharedTablesV2);
|
||||
if (!$sharedTablesV2) {
|
||||
$adapter = $pools->get($dsn->getHost())->pop()->getResource();
|
||||
$dbForProject = new Database($adapter, $cache);
|
||||
|
|
|
|||
Loading…
Reference in a new issue