mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
Improve sharding (not finished)
This commit is contained in:
parent
b250f24880
commit
7cce8ca1a6
|
|
@ -58,7 +58,15 @@ class ApplicationAbstract
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $orgId = 1;
|
protected $orgId = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* App theme.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
protected $theme = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Database object.
|
* Database object.
|
||||||
|
|
|
||||||
|
|
@ -256,6 +256,7 @@ abstract class ViewAbstract implements RenderableInterface
|
||||||
$includeData = include $path;
|
$includeData = include $path;
|
||||||
$ob = (string) \ob_get_clean();
|
$ob = (string) \ob_get_clean();
|
||||||
|
|
||||||
|
// todo: is this correct? finally is still called.
|
||||||
if (\is_array($includeData)) {
|
if (\is_array($includeData)) {
|
||||||
return (string) \json_encode($includeData);
|
return (string) \json_encode($includeData);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user