@@ -2,6 +2,8 @@
chown -R www:www /tmp
chown -R www:www /alidata/www/protected/runtime/
+cp -f /alidata/www/deploy/php.ini /usr/local/etc/php/php.ini
+
#启动php
php-fpm
@@ -184,6 +184,7 @@ class CommonController extends Controller
} else {
Helper::error('上传有误');
}
+ \CVarDumper::dump($upArr, 6, 1);die;
$type = strtolower($upArr['type']);
if (!Helper::hasAnyString($type, ['png', 'jpeg', 'jpg'])) {
Helper::error('图片格式不正确 ' . $type);