Skip to content

This plug-in send your files in the folder moodledata/filedir to Amazon S3 and manages their delivery.

Notifications You must be signed in to change notification settings

EduardoKrausME/moodledata-to-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

moodledata to AWS

Este plug-in, Open Source, envia seus arquivos da pasta moodledata/filedir para a Amazon S3 e gerencia sua entrega.

This plug-in, Open Source, send your files in the folder moodledata/filedir to Amazon S3 and manages their delivery.

PT_BR: Instalação

Envie a pasta _s3 para a raiz da pasta da instalação do Moodle.

Editando o config.php

Antes da linha require_once(dirname(__FILE__) . '/lib/setup.php'); adicione as seguintes linhas:

if ( strpos ( $_SERVER[ 'REQUEST_URI' ], 'pluginfile.php' ) ) {
    $CFG->aws_s3_key    = 'Access Key ID';
    $CFG->aws_s3_secret = 'Access Secret ID';
    $CFG->aws_s3_bucket = 'Nome do Bucket';

    require_once ( dirname ( __FILE__ ) . '/_s3/_load.php' );
}

Ir para a página de Credenciais do AWS

EN: Installation

Send the folder _s3 to the root of the Moodle installation folder.

Editing config.php

Before the line require_once(dirname(__FILE__) . '/lib/setup.php'); add the following lines:

if ( strpos ( $_SERVER[ 'REQUEST_URI' ], 'pluginfile.php' ) ) {
    $CFG->aws_s3_key    = 'Access Key ID';
    $CFG->aws_s3_secret = 'Access Secret ID';
    $CFG->aws_s3_bucket = 'Bucket Name';

    require_once ( dirname ( __FILE__ ) . '/_s3/_load.php' );
}

Go to AWS Credentials page

About

This plug-in send your files in the folder moodledata/filedir to Amazon S3 and manages their delivery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages