Sfoglia il codice sorgente

remove echo string

朱金辉 1 anno fa
parent
commit
5385d8adb6
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/Base/Route.php

+ 0 - 1
src/Base/Route.php

@@ -287,7 +287,6 @@ class Route
                 echo $res;
                 break;
             case is_array($callable):
-                echo Register::get("APP_DEFAULT_ACTION");
                 $action = (isset($callable[1]) ? $callable[1] : "index"). Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX);
                 $res = call_user_func_array(array(_loadClass($callable[0]), $action), $args);
                 if($res instanceof \Qii\Base\Response) {