fix: PHP syntax errors in upload files and composer config
- Fix PHP 8.x string interpolation syntax in upload log calls - Fix const getenv() -> runtime variable in uploadSyrianDocs.php - Add composer security advisory ignore for firebase/php-jwt - Run composer update to sync lock file
This commit is contained in:
@@ -11,7 +11,7 @@ uploadLog("🚀 [uploadImagePortrate.php] Profile image upload script execution
|
||||
try {
|
||||
// Check if $_FILES has errors
|
||||
if (isset($_FILES['image'])) {
|
||||
uploadLog("$_FILES['image'] metadata", 'INFO', [
|
||||
uploadLog('$_FILES[\'image\'] metadata', 'INFO', [
|
||||
'name' => $_FILES['image']['name'] ?? 'unknown',
|
||||
'type' => $_FILES['image']['type'] ?? 'unknown',
|
||||
'size' => $_FILES['image']['size'] ?? 0,
|
||||
|
||||
Reference in New Issue
Block a user