Kirin пре 1 година
родитељ
комит
6b99f6aff7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/Request.php

+ 1 - 0
app/Request.php

@@ -138,6 +138,7 @@ class Request extends \think\Request
      */
     public function getFromType()
     {
+        @file_put_contents('from_type.txt', $this->header('Form-type', ''), FILE_APPEND);
         return $this->header('Form-type', '');
     }