正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -138,7 +138,7 @@ class LoginController extends BaseController | @@ -138,7 +138,7 @@ class LoginController extends BaseController | ||
| 138 | 'updated_at'=>date('Y-m-d H:i:s') | 138 | 'updated_at'=>date('Y-m-d H:i:s') |
| 139 | ]; | 139 | ]; |
| 140 | // shell_exec("mkdir uploads"); | 140 | // shell_exec("mkdir uploads"); |
| 141 | - exec("cp upload/{$info['path']} uploads/{$info['path']}"); | 141 | + shell_exec("cp upload/{$info['path']} uploads/{$info['path']}"); |
| 142 | $rs = DB::table('gl_images')->insert($param); | 142 | $rs = DB::table('gl_images')->insert($param); |
| 143 | } | 143 | } |
| 144 | } | 144 | } |
-
请 注册 或 登录 后发表评论