Merge branch '1.7.x' into feat-sites

This commit is contained in:
Matej Bačo committed 2025-03-13 11:41:28 +01:00
commit 725dff7f0f
137 files changed
+1326 -2802

No files matched your search

+4
View File
@@ -99,6 +99,10 @@ CLI::setResource('dbForPlatform', function ($pools, $cache) {
return $dbForPlatform;
}, ['pools', 'cache']);
CLI::setResource('console', function () {
return new Document(Config::getParam('console'));
}, []);
CLI::setResource('getProjectDB', function (Group $pools, Database $dbForPlatform, $cache) {
$databases = []; // TODO: @Meldiron This should probably be responsibility of utopia-php/pools