causefx преди 9 години
родител
ревизия
c8fad9a724
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  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();
 $doc = new DOMDocument();
 
 
+libxml_use_internal_errors(true);
+
 $doc->loadHTMLFile($html);
 $doc->loadHTMLFile($html);
 
 
+libxml_use_internal_errors(false);
+
 $xpath = new DomXpath($doc);
 $xpath = new DomXpath($doc);
 
 
 $githubChanges = $xpath->query('//div[@class="markdown-body"]//p')->item(0)->nodeValue;
 $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) {
 foreach ($config as $keyname => $section) {