Skip to content

Commit 6036672

Browse files
committed
fix: curl and xml are not required extentions
1 parent 70f9e40 commit 6036672

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

admin/framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"license": "MIT",
77
"require": {
88
"php": "^7.4 || ^8.0",
9-
"ext-curl": "*",
109
"ext-intl": "*",
1110
"ext-json": "*",
1211
"ext-mbstring": "*",
@@ -24,6 +23,7 @@
2423
"predis/predis": "^1.1 || ^2.0"
2524
},
2625
"suggest": {
26+
"ext-curl": "If you use CURLRequest class",
2727
"ext-imagick": "If you use Image class ImageMagickHandler",
2828
"ext-gd": "If you use Image class GDHandler",
2929
"ext-exif": "If you run Image class tests",

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"license": "MIT",
77
"require": {
88
"php": "^7.4 || ^8.0",
9-
"ext-curl": "*",
109
"ext-intl": "*",
1110
"ext-json": "*",
1211
"ext-mbstring": "*",
@@ -29,6 +28,7 @@
2928
"rector/rector": "0.14.8"
3029
},
3130
"suggest": {
31+
"ext-curl": "If you use CURLRequest class",
3232
"ext-imagick": "If you use Image class ImageMagickHandler",
3333
"ext-gd": "If you use Image class GDHandler",
3434
"ext-exif": "If you run Image class tests",

system/CodeIgniter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,9 @@ public function initialize()
205205
protected function resolvePlatformExtensions()
206206
{
207207
$requiredExtensions = [
208-
'curl',
209208
'intl',
210209
'json',
211210
'mbstring',
212-
'xml',
213211
];
214212

215213
$missingExtensions = [];

0 commit comments

Comments
 (0)