Merge pull request #10408 from annando/issue-10392

Issue 10392: Avoid "Friendica can't display this page at the moment"
2022.09-rc
Hypolite Petovan 2021-06-16 13:32:17 -04:00 zatwierdzone przez GitHub
commit ead0cf370a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -232,7 +232,7 @@ class BaseURL
{
$parsed = @parse_url($url);
if (empty($parsed)) {
if (empty($parsed) || empty($parsed['host'])) {
return false;
}

Wyświetl plik

@ -172,6 +172,8 @@ HELP;
Friendica\DI::init($this->dice);
Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
/** @var Console $subconsole */
$subconsole = $this->dice->create($className, [$subargs]);

Wyświetl plik

@ -162,8 +162,6 @@ class DBStructure
public static function writeStructure()
{
Renderer::registerTemplateEngine('Friendica\Render\FriendicaSmartyEngine');
$tables = [];
foreach (self::definition(null) as $name => $definition) {
$indexes = [[