mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
fixes from hz
This commit is contained in:
parent
f71a88c69a
commit
b23cef4ca8
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class Config
|
||||||
|
|
||||||
if (! array_key_exists('config_loaded', App::$config[$family])) {
|
if (! array_key_exists('config_loaded', App::$config[$family])) {
|
||||||
$r = q("SELECT * FROM config WHERE cat = '%s'", dbesc($family));
|
$r = q("SELECT * FROM config WHERE cat = '%s'", dbesc($family));
|
||||||
if ($r === false) {
|
if ($r === false && !App::$install) {
|
||||||
sleep(3);
|
sleep(3);
|
||||||
$recursionCounter ++;
|
$recursionCounter ++;
|
||||||
if ($recursionCounter > 10) {
|
if ($recursionCounter > 10) {
|
||||||
|
|
2
boot.php
2
boot.php
|
@ -777,7 +777,7 @@ function x($s, $k = null) {
|
||||||
* @ref include/system_unavailable.php will handle everything further.
|
* @ref include/system_unavailable.php will handle everything further.
|
||||||
*/
|
*/
|
||||||
function system_unavailable() {
|
function system_unavailable() {
|
||||||
include('include/system_unavailable.php');
|
require_once('include/system_unavailable.php');
|
||||||
system_down();
|
system_down();
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue