2021-09-01 23:35:23 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @brief improve, a plugin for Dotclear 2
|
2021-11-01 21:08:56 +00:00
|
|
|
*
|
2021-09-01 23:35:23 +00:00
|
|
|
* @package Dotclear
|
2021-09-06 21:36:50 +00:00
|
|
|
* @subpackage Plugin
|
2021-11-01 21:08:56 +00:00
|
|
|
*
|
2021-09-01 23:35:23 +00:00
|
|
|
* @author Jean-Christian Denis and contributors
|
2021-11-01 21:08:56 +00:00
|
|
|
*
|
2021-09-01 23:35:23 +00:00
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2021-09-25 21:14:51 +00:00
|
|
|
$improve_libs = [
|
2021-11-01 21:08:56 +00:00
|
|
|
'Improve' => 'class.improve.php',
|
|
|
|
'ImproveAction' => 'class.improve.action.php',
|
2021-09-01 23:35:23 +00:00
|
|
|
|
2021-09-25 21:14:51 +00:00
|
|
|
'ImproveActionDcdeprecated' => 'lib.improve.action.dcdeprecated.php',
|
|
|
|
'ImproveActionDcstore' => 'lib.improve.action.dcstore.php',
|
|
|
|
'ImproveActionEndoffile' => 'lib.improve.action.php',
|
|
|
|
'ImproveActionGitshields' => 'lib.improve.action.gitshields.php',
|
|
|
|
'ImproveActionLicensefile' => 'lib.improve.action.licensefile.php',
|
|
|
|
'ImproveActionNewline' => 'lib.improve.action.php',
|
2021-11-01 21:08:56 +00:00
|
|
|
'ImproveActionPhpcsfixer' => 'lib.improve.action.phpcsfixer.php',
|
2021-09-25 21:14:51 +00:00
|
|
|
'ImproveActionPhpheader' => 'lib.improve.action.phpheader.php',
|
|
|
|
'ImproveActionTab' => 'lib.improve.action.php',
|
|
|
|
'ImproveActionZip' => 'lib.improve.action.zip.php',
|
|
|
|
'ImproveZipFileZip' => 'lib.improve.action.zip.php'
|
|
|
|
];
|
2021-11-01 21:08:56 +00:00
|
|
|
foreach ($improve_libs as $class => $file) {
|
2021-09-25 21:14:51 +00:00
|
|
|
$__autoload[$class] = dirname(__FILE__) . '/inc/' . $file;
|
2021-11-01 21:08:56 +00:00
|
|
|
}
|