Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AbstractDbaConfigAdapter.php 312B

123456789101112131415161718192021
  1. <?php
  2. namespace Friendica\Core\Config\Adapter;
  3. use Friendica\Database\DBA;
  4. abstract class AbstractDbaConfigAdapter
  5. {
  6. /** @var bool */
  7. protected $connected = true;
  8. public function __construct()
  9. {
  10. $this->connected = DBA::connected();
  11. }
  12. public function isConnected()
  13. {
  14. return $this->connected;
  15. }
  16. }