mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
debug
This commit is contained in:
parent
5451a9cd23
commit
9bfab69062
1 changed files with 5 additions and 1 deletions
|
|
@ -203,7 +203,6 @@ App::post('/v1/projects')
|
|||
$sharedTables = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', ''));
|
||||
$sharedTablesV1 = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES_V1', ''));
|
||||
$globalCollections = !\in_array($dsn->getHost(), $sharedTablesV1);
|
||||
|
||||
if (\in_array($dsn->getHost(), $sharedTables)) {
|
||||
$dbForProject
|
||||
->setSharedTables(true)
|
||||
|
|
@ -224,6 +223,11 @@ App::post('/v1/projects')
|
|||
$create = false;
|
||||
}
|
||||
|
||||
var_dump($dsn->getHost());
|
||||
var_dump($sharedTablesV1);
|
||||
var_dump($globalCollections);
|
||||
var_dump($create);
|
||||
|
||||
if ($create || !$globalCollections) {
|
||||
$audit = new Audit($dbForProject);
|
||||
$audit->setup();
|
||||
|
|
|
|||
Loading…
Reference in a new issue