mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Fixes #4114 - Better file inspector corruption warning message
Now advises admins to reupload using binary mode if the admin uploads files with FTP
This commit is contained in:
6
.github/workflows/build-release.yml
vendored
6
.github/workflows/build-release.yml
vendored
@@ -18,12 +18,14 @@ jobs:
|
|||||||
- name: Install operating system dependencies
|
- name: Install operating system dependencies
|
||||||
run: sudo apt-get install -y git tar gzip xz-utils zip php-cli
|
run: sudo apt-get install -y git tar gzip xz-utils zip php-cli
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Fetch version information
|
- name: Fetch version information
|
||||||
run: git fetch origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/*
|
run: |
|
||||||
|
git remote set-url origin "$(git remote get-url origin | sed 's|^git@github\.com:|https://github.com/|')"
|
||||||
|
git fetch origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/*
|
||||||
|
|
||||||
# Remove this step if the old version tags make it to the official repository.
|
# Remove this step if the old version tags make it to the official repository.
|
||||||
- name: Fetch version information from really old releases
|
- name: Fetch version information from really old releases
|
||||||
|
@@ -1627,6 +1627,7 @@ class e107
|
|||||||
"File Inspector will be inoperative. " .
|
"File Inspector will be inoperative. " .
|
||||||
"Resolve this issue by uploading a good copy of the core image to " .
|
"Resolve this issue by uploading a good copy of the core image to " .
|
||||||
escapeshellarg($fileInspectorPath) . ". " .
|
escapeshellarg($fileInspectorPath) . ". " .
|
||||||
|
"If uploading with FTP, use binary transfer mode. " .
|
||||||
"Error message: " .
|
"Error message: " .
|
||||||
$e->getMessage()
|
$e->getMessage()
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user