You are here

function s3fs_cors_help in S3 File System CORS Upload 7

Same name and namespace in other branches
  1. 8 s3fs_cors.module \s3fs_cors_help()

Implements hook_help().

File

./s3fs_cors.module, line 49
Allow uploading of files directly to AmazonS3 via the browser using CORS.

Code

function s3fs_cors_help($path, $arg) {
  if ($path == 'admin/config/media/s3fs/cors') {
    $msg = t('Configure your S3 Bucket\'s CORS configuration from this page.
      Please be aware that submitting this form will <b>overwrite</b> your bucket\'s current CORS config.<br>
      So if you intend to configure your bucket\'s CORS policy manually, <b>never submit this form</b>.');
    return "<p>{$msg}</p>";
  }
}