Skip to content
Snippets Groups Projects
Commit 056efb8b authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '808-quicktip-server-versionsnummern-anpassen' into 'development'

Resolve "Quicktip Server Versionsnummern anpassen"

Closes #808

See merge request !1320
parents eea6f6ac 855fefff
No related branches found
No related tags found
1 merge request!1320Resolve "Quicktip Server Versionsnummern anpassen"
......@@ -6,8 +6,7 @@ use App;
use App\MetaGer;
use Illuminate\Http\Request;
const TIP_SERVER = 'https://quicktips.metager3.de/tips.xml';
#const TIP_SERVER = 'http://localhost:63825/tips.xml';
const TIP_SERVER = 'http://localhost:63825/tips.xml';
class MetaGerSearch extends Controller
{
......@@ -77,7 +76,7 @@ class MetaGerSearch extends Controller
public function tips(Request $request)
{
$tips_text = file_get_contents(TIP_SERVER);
$tips = [];
$tips = [];
try {
$tips_xml = simplexml_load_string($tips_text);
......
......@@ -12,7 +12,6 @@ class Quicktips
{
use DispatchesJobs;
//const QUICKTIP_URL = "https://quicktips.metager3.de/quicktips.xml";
const QUICKTIP_URL = "http://localhost:63825/quicktips.xml";
const QUICKTIP_NAME = "quicktips";
const CACHE_DURATION = 60;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment