| 
<?php/**
 * Licensing and applications manager.
 *
 * @author    Josantonius <[email protected]>
 * @copyright 2017 - 2018 (c) Josantonius - License Handler
 * @license   https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link      https://github.com/eliasis-framework/license-handler.git
 * @since     1.0.1
 */
 session_start();
 
 require __DIR__ . '/../vendor/autoload.php';
 
 use Josantonius\File\File;
 
 /*
 * Clone complement.
 */
 $plugin = 'license-handler';
 
 $path = 'sample-app/plugins';
 
 File::deleteDirRecursively(__DIR__ . '/sample-app/plugins/');
 
 File::copyDirRecursively(
 __DIR__ . '/../config/',
 __DIR__ . "/$path/$plugin/config/"
 );
 
 File::copyDirRecursively(
 __DIR__ . '/../src/',
 __DIR__ . "/$path/$plugin/src/"
 );
 
 copy(
 __DIR__ . "/../$plugin.json",
 __DIR__ . "/$path/$plugin/$plugin.json"
 );
 
 |