diff options
author | Andrew Dolgov <[email protected]> | 2021-03-02 17:12:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-02 17:12:35 +0300 |
commit | 386316aba1b955f50502562e1308e02680ffe997 (patch) | |
tree | a712c93f43f5743dfa1b42615dd1e79b6b11df68 /classes/config.php | |
parent | 1ab6ca57afc4281b078eb5ddfed7c26e8a5c24c8 (diff) |
update previous (comment)
Diffstat (limited to 'classes/config.php')
-rw-r--r-- | classes/config.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/classes/config.php b/classes/config.php index 1d045def4..bad760e3e 100644 --- a/classes/config.php +++ b/classes/config.php @@ -314,9 +314,12 @@ class Config { static function sanity_check() { - /* we don't actually need the DB object right now but some checks below might ORM which won't be initialized - because it is set up in the Db constructor, which is why it's a good idea to do that as early as possible - it is a bit of a hack, maybe ORM should be initialized somewhere else (functions.php?) */ + /* + we don't actually need the DB object right now but some checks below might use ORM which won't be initialized + because it is set up in the Db constructor, which is why it's a good idea to invoke it as early as possible + + it is a bit of a hack, maybe ORM should be initialized somewhere else (functions.php?) + */ $pdo = Db::pdo(); |