Skip to content
Snippets Groups Projects
Commit 855fefff authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Versionsnummern um letzte Stelle gekürzt

parent eea6f6ac
No related branches found
No related tags found
1 merge request!1320Resolve "Quicktip Server Versionsnummern anpassen"
...@@ -6,8 +6,7 @@ use App; ...@@ -6,8 +6,7 @@ use App;
use App\MetaGer; use App\MetaGer;
use Illuminate\Http\Request; 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 class MetaGerSearch extends Controller
{ {
...@@ -77,7 +76,7 @@ class MetaGerSearch extends Controller ...@@ -77,7 +76,7 @@ class MetaGerSearch extends Controller
public function tips(Request $request) public function tips(Request $request)
{ {
$tips_text = file_get_contents(TIP_SERVER); $tips_text = file_get_contents(TIP_SERVER);
$tips = []; $tips = [];
try { try {
$tips_xml = simplexml_load_string($tips_text); $tips_xml = simplexml_load_string($tips_text);
......
...@@ -12,7 +12,6 @@ class Quicktips ...@@ -12,7 +12,6 @@ class Quicktips
{ {
use DispatchesJobs; use DispatchesJobs;
//const QUICKTIP_URL = "https://quicktips.metager3.de/quicktips.xml";
const QUICKTIP_URL = "http://localhost:63825/quicktips.xml"; const QUICKTIP_URL = "http://localhost:63825/quicktips.xml";
const QUICKTIP_NAME = "quicktips"; const QUICKTIP_NAME = "quicktips";
const CACHE_DURATION = 60; 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