Actions

Translations

Optional settings/110/ja: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 3: Line 3:
*'''allowedfileuploads''' {{NewIn/ja|4.0.0}} アップロードするファイルタイプのグローバルな制限
*'''allowedfileuploads''' {{NewIn/ja|4.0.0}} アップロードするファイルタイプのグローバルな制限
*'''magic_database:''' {{NewIn/ja|3.17.17}} [https://www.php.net/manual/en/function.finfo-open.php finfo_open]に別のMIMEデータベースの使用を許可します。 config.phpファイルでのみ更新できます。例: redhatベースのlinuxの場合<code>/usr/share/misc/magic.mgc</code> for redhat based linux.
*'''magic_database:''' {{NewIn/ja|3.17.17}} [https://www.php.net/manual/en/function.finfo-open.php finfo_open]に別のMIMEデータベースの使用を許可します。 config.phpファイルでのみ更新できます。例: redhatベースのlinuxの場合<code>/usr/share/misc/magic.mgc</code> for redhat based linux.
*'''magic_file:''' {{NewIn/ja|3.17.17}} [https://github.com/LimeSurvey/LimeSurvey/blob/master/framework/utils/fileExtensions.php 標準のファイル]とは別のファイルを使用して、MIMEタイプごとの拡張子の配列を取得することができます。配列を返すPHPファイルである必要があります。config.phpファイルでのみ更新できます。
*'''magic_file:''' {{NewIn/ja|3.17.17}} [https://github.com/LimeSurvey/LimeSurvey/blob/master/framework/utils/mimeTypes.php 標準のファイル]とは別のファイルを使用して、MIMEタイプごとの拡張子の配列を取得することができます。配列を返すPHPファイルである必要があります。config.phpファイルでのみ更新できます。

Revision as of 23:12, 31 May 2020

Message definition (Optional settings)
*'''allowedthemeuploads:''' File types allowed to be uploaded in theme editor
*'''allowedresourcesuploads:''' File types allowed to be uploaded in the resources sections, and with the HTML Editor
*'''allowedfileuploads''' {{NewIn|4.0.0}} Global restriction on file type to be uploaded
*'''magic_database:''' {{NewIn|3.17.17}} Allow to use a different MIME database for [https://www.php.net/manual/en/function.finfo-open.php finfo_open]. Can be updated only in config.php file. Example : <code>/usr/share/misc/magic.mgc</code> for redhat based linux.
*'''magic_file:''' {{NewIn|3.17.17}} Allow to use a different file to get the array of extension by mime type than the [https://github.com/LimeSurvey/LimeSurvey/blob/master/application/core/utils/fileExtensions.php included one]. Must be a PHP file return an array. Can be updated only in config.php file.
  • allowedthemeuploads: テーマエディターでアップロードできるファイルタイプ
  • allowedresourcesuploads: リソースセクション及びHTMLエディターでアップロードできるファイルタイプ
  • allowedfileuploads (4.0.0 から追加) アップロードするファイルタイプのグローバルな制限
  • magic_database: (3.17.17 から追加) finfo_openに別のMIMEデータベースの使用を許可します。 config.phpファイルでのみ更新できます。例: redhatベースのlinuxの場合/usr/share/misc/magic.mgc for redhat based linux.
  • magic_file: (3.17.17 から追加) 標準のファイルとは別のファイルを使用して、MIMEタイプごとの拡張子の配列を取得することができます。配列を返すPHPファイルである必要があります。config.phpファイルでのみ更新できます。