a.binder 9 rokov pred
rodič
commit
676f8eb252
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      SE/se-lib/Route/UrlAction/Ant.php

+ 5 - 1
SE/se-lib/Route/UrlAction/Ant.php

@@ -81,7 +81,10 @@ class Route_UrlAction_Ant extends Route_Ant {// @doc @see Route_Ant
       $out=shell_exec($cmd);
       DBG::log([ 'msg'=>"cmd and returns({$ret})", 'output'=>$out ]);
       $html = []; $startRead = false;
-      foreach ($out as $line) {
+      
+      
+      echo "<hr>".$out."<hr>"; //do poprawy, chce ruszyc, bo lokalnie mi dziala
+     /* foreach ($out as $line) {
         if (!$startRead) {
           if ('OUTPUT__START' == $line) {
             $startRead = true;
@@ -99,6 +102,7 @@ class Route_UrlAction_Ant extends Route_Ant {// @doc @see Route_Ant
       if (empty($html)) UI::alert('danger', "Empty output!");
       // echo UI::h('pre', [], htmlspecialchars(implode("\n", $html)));
       echo UI::h('div', ['class'=>"container", 'style'=>"padding:12px; border:1px solid #ddd"], $html);
+      */
     } catch (Exception $e) {
       UI::alert('danger', $e->getMessage());
       DBG::log($e);