Commit 855fefff authored by Karl Hasselbring's avatar Karl Hasselbring

Versionsnummern um letzte Stelle gekürzt

parent eea6f6ac
......@@ -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;
......
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