Improve sharding (not finished)

This commit is contained in:
Dennis Eichhorn 2019-04-28 21:15:04 +02:00
parent b250f24880
commit 7cce8ca1a6
2 changed files with 10 additions and 1 deletions

View File

@ -58,7 +58,15 @@ class ApplicationAbstract
* @var int
* @since 1.0.0
*/
protected $orgId = 1;
protected $orgId = 0;
/**
* App theme.
*
* @var string
* @since 1.0.0
*/
protected $theme = '';
/**
* Database object.

View File

@ -256,6 +256,7 @@ abstract class ViewAbstract implements RenderableInterface
$includeData = include $path;
$ob = (string) \ob_get_clean();
// todo: is this correct? finally is still called.
if (\is_array($includeData)) {
return (string) \json_encode($includeData);
}