Explorar el Código

Fix Some DOM Errors

causefx hace 9 años
padre
commit
c8fad9a724
Se han modificado 1 ficheros con 5 adiciones y 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) {