2
0
stany.ferer 1 жил өмнө
parent
commit
2cb958e259

+ 4 - 0
core/class/git.class.php

@@ -2,6 +2,10 @@
 
 class git
 {
+    public static function fetch(){
+        exec('git fetch --all');
+    }
+    
     public static function checkError(string $_string = NULL){
         $return = NULL;
         if($_string != NULL){

+ 1 - 0
core/views/pages/cms.parametres.php

@@ -1,4 +1,5 @@
 <?php
+git::fetch();
 $checkMaintenance = core::isMaintenance();
 $checkDebug = core::isDebug();
 ?>