Actualización
This commit is contained in:
16
plugin/test2pdf/install.php
Normal file
16
plugin/test2pdf/install.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/* For license terms, see /license.txt */
|
||||
/**
|
||||
* This script is included by main/admin/settings.lib.php and generally
|
||||
* includes things to execute in the main database (settings_current table).
|
||||
*
|
||||
* @package chamilo.plugin.test2pdf
|
||||
*/
|
||||
/**
|
||||
* Initialization.
|
||||
*/
|
||||
require_once __DIR__.'/config.php';
|
||||
if (!api_is_platform_admin()) {
|
||||
exit('You must have admin permissions to install plugins');
|
||||
}
|
||||
Test2pdfPlugin::create()->install();
|
||||
Reference in New Issue
Block a user