作者 lyh

gx

... ... @@ -138,7 +138,7 @@ class LoginController extends BaseController
'updated_at'=>date('Y-m-d H:i:s')
];
// shell_exec("mkdir uploads");
shell_exec("cp upload/{$info['path']} uploads/{$info['path']}");
shell_exec("cp /www/wwwroot/develop.globalso.com/public/upload/{$info['path']} /www/wwwroot/develop.globalso.com/public/uploads/{$info['path']}");
$rs = DB::table('gl_images')->insert($param);
}
}
... ...