Commit f7a2bae1 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Homepage Parameter wird falls nicht vorhanden auf https://metager.de gesetzt

parent 231d74a7
...@@ -25,6 +25,8 @@ abstract class Searchengine ...@@ -25,6 +25,8 @@ abstract class Searchengine
foreach($engine->attributes() as $key => $value){ foreach($engine->attributes() as $key => $value){
$this->$key = $value->__toString(); $this->$key = $value->__toString();
} }
if( !isset($this->homepage) )
$this->homepage = "https://metager.de";
$this->engine = $engine; $this->engine = $engine;
# Wir registrieren die Benutzung dieser Suchmaschine # Wir registrieren die Benutzung dieser Suchmaschine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment