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.

12 lines
364 B

  1. diff --git a/app/inc/init.php b/app/inc/init.php
  2. index 0e8fb19..272d83c 100644
  3. --- a/app/inc/init.php
  4. +++ b/app/inc/init.php
  5. @@ -97,4 +97,6 @@ require_once __DIR__ . '/i18n.php';
  6. require_once __DIR__ . '/smarty.php';
  7. require_once __DIR__ . '/services.php';
  8. -Services::init($connect, $smarty);
  9. +if (isset($connect)) {
  10. + Services::init($connect, $smarty);
  11. +}