diff --git a/docs/cli/built-in-commands/sync-file-usage.md b/docs/cli/built-in-commands/sync-file-usage.md new file mode 100644 index 000000000..94c513521 --- /dev/null +++ b/docs/cli/built-in-commands/sync-file-usage.md @@ -0,0 +1,7 @@ +# `sync:upload-directory` + +This command updates old file format data to the modern format and synchronizes the file usage records in the database. File usage data for a given file in the file manager can be viewed in the [File Editor](control-panel/file-manager/file-edit.md). This functionality is also available through [Utilities - File Usage](control-panel/utilities/data-operations.md#update-file-usage-information). + +## Example: + +`php eecli.php sync:file-usage` \ No newline at end of file diff --git a/docs/cli/intro.md b/docs/cli/intro.md index 0634c2ae4..53674a568 100644 --- a/docs/cli/intro.md +++ b/docs/cli/intro.md @@ -29,6 +29,7 @@ By default the CLI is located `system/ee/eecli.php` . - [migrate:rollback - Rolls back most recent migration group](cli/built-in-commands/migrate.md) - Sync - [sync:conditional-fields - Sync channel entry conditional logic](cli/built-in-commands/sync-conditional-fields.md) + - [sync:file-usage - Sync files usage](cli/built-in-commands/sync-file-usage.md) - [sync:reindex - Sync content used in search indexes](cli/built-in-commands/sync-reindex.md) - [sync:upload-directory - Sync files in an upload directory](cli/built-in-commands/sync-upload-directory.md) - [Update ExpressionEngine](cli/built-in-commands/update.md) diff --git a/docs/config/config-files.md b/docs/config/config-files.md index 0e10efc3d..9228836b1 100644 --- a/docs/config/config-files.md +++ b/docs/config/config-files.md @@ -39,9 +39,14 @@ A list of HTML attributes that are allowed to be passed via EE template tag para `mimes.php` -This file sets the mime types that are allowed to be uploaded using the upload class. For security reasons the list is kept as small as possible. The mimes.php file in your user/config folder will override the system mimes.php entirely. If you need to upload mime types that are not in the list you can add them. If you want to disallow a mime type that is allowed by default, you can remove it from your version of the mimes.php file. +This file sets the mime types that are allowed to be uploaded using the upload class. For security reasons the list is kept as small as possible. The `mimes.php` file in your `system/user/config` folder will override the system `mimes.php` entirely. If you need to upload mime types that are not in the list you can add them. If you want to disallow a mime type that is allowed by default, you can remove it from your mimes.php file and it will be disallowed. -The mime types are grouped by file type. These file types make up the 'Allowed File Types' options in the [upload directory](control-panel/file-manager/upload-directories.md#allowed-file-types) settings. You can add new mimes to an existing file type or create a new file type and add to that. Your new file type will be included as an option in the file upload preferrence file types. +The mime types are grouped by file type. These file types make up the 'Allowed File Types' options in the [upload directory](control-panel/file-manager/upload-directories.md#allowed-file-types) settings. You can add new mimes to an existing file type or create a new file type and add to that. Your new file type will be included as an option in the file upload preferrence file types. + +Tip: Customizing Allowed File Types in ExpressionEngine +
+ +
#### Reverse Proxy IP addresses