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', '');
     }