Explorar o código

Fix Some DOM Errors

causefx %!s(int64=9) %!d(string=hai) anos
pai
achega
c8fad9a724
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      settings.php

+ 5 - 1
settings.php

@@ -16,8 +16,12 @@ $html = "https://github.com/causefx/iDashboard-PHP/releases/latest";
     
 $doc = new DOMDocument();
 
+libxml_use_internal_errors(true);
+
 $doc->loadHTMLFile($html);
 
+libxml_use_internal_errors(false);
+
 $xpath = new DomXpath($doc);
 
 $githubChanges = $xpath->query('//div[@class="markdown-body"]//p')->item(0)->nodeValue;
@@ -36,7 +40,7 @@ if(!isset($githubChanges)){
 
 }
 
-$currentVersion = "1.081";
+$currentVersion = "1.082";
 
 foreach ($config as $keyname => $section) {