Browse Source

fixed: 输出文件名.

gwang 5 years ago
parent
commit
e6df99cc94
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Gameserver/Amfphp/base/CmdCode.php

+ 3 - 3
Gameserver/Amfphp/base/CmdCode.php

@@ -904,9 +904,9 @@ class CmdCode {
      * @author gwang
      */
     static function L() {
-        $class = new \ReflectionClass(__CLASS__);                                # 建立这个类的反射对象
-        $properties = $class->getProperties(\ReflectionProperty::IS_STATIC);     # 拉取所有静态属性
-        $fileName = __DIR__ . "/" . str_replace(__CLASS__, '\\', '.') . ".txt";                                   # 输出文件名
+        $class = new \ReflectionClass(__CLASS__);                               # 建立这个类的反射对象
+        $properties = $class->getProperties(\ReflectionProperty::IS_STATIC);    # 拉取所有静态属性
+        $fileName = __DIR__ . "/" . str_replace('\\', '.', __CLASS__) . ".txt"; # 输出文件名
         \var_dump($fileName);
         $fd = fopen($fileName, "w");
         if (false === $fd) {                                                    # 打开文件失败