. /** * Provides code to be executed during the module installation * * Note that the latest AWS SDK for PHP is downloaded during installation. * * @package mod_appstream * @copyright 2018 Amazon.com, Inc. and its affiliates. All Rights Reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 */ /** * Post installation procedure * * @see upgrade_plugins_modules() */ function xmldb_appstream_install() { file_put_contents("../mod/appstream/aws.phar", fopen("http://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.phar", 'r')); } /** * Post installation recovery procedure * * @see upgrade_plugins_modules() */ function xmldb_appstream_install_recovery() { }