fixes from hz

This commit is contained in:
Mike Macgirvin 2023-12-18 05:51:37 +11:00
parent f71a88c69a
commit b23cef4ca8
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class Config
if (! array_key_exists('config_loaded', App::$config[$family])) {
$r = q("SELECT * FROM config WHERE cat = '%s'", dbesc($family));
if ($r === false) {
if ($r === false && !App::$install) {
sleep(3);
$recursionCounter ++;
if ($recursionCounter > 10) {

View file

@ -777,7 +777,7 @@ function x($s, $k = null) {
* @ref include/system_unavailable.php will handle everything further.
*/
function system_unavailable() {
include('include/system_unavailable.php');
require_once('include/system_unavailable.php');
system_down();
killme();
}