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