浏览代码

Update BBCodeList\Generate

Visman 3 年之前
父节点
当前提交
4e8fc5af7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/BBCodeList/Generate.php

+ 1 - 1
app/Models/BBCodeList/Generate.php

@@ -24,7 +24,7 @@ class Generate extends Method
         $query = 'SELECT bb_structure
             FROM ::bbcode';
 
-        $content = "<?php\n\nuse function \\ForkBB\\__;\nuse function \\ForkBB\\url;\n\nreturn [\n";
+        $content = "<?php\n\nuse function \\ForkBB\\{__, url};\n\nreturn [\n";
 
         $stmt = $this->c->DB->query($query);
         while ($row = $stmt->fetch()) {