anonymize plugin standard files
parent
fc2a12cae8
commit
914722068d
|
@ -12,6 +12,9 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (Dotclear\Plugin\improve\Admin::init()) {
|
$admin = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Admin']);
|
||||||
Dotclear\Plugin\improve\Admin::process();
|
if ($admin::init()) {
|
||||||
|
return $admin::process();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
|
11
_config.php
11
_config.php
|
@ -12,11 +12,8 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_MODULE')) {
|
$config = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Config']);
|
||||||
return null;
|
if ($config::init()) {
|
||||||
}
|
$config::process();
|
||||||
|
$config::render();
|
||||||
if (Dotclear\Plugin\improve\Config::init()) {
|
|
||||||
Dotclear\Plugin\improve\Config::process();
|
|
||||||
Dotclear\Plugin\improve\Config::render();
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,9 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (Dotclear\Plugin\improve\Install::init()) {
|
$install = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Install']);
|
||||||
return Dotclear\Plugin\improve\Install::process();
|
if ($install::init()) {
|
||||||
|
return $install::process();
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (!class_exists('Dotclear\Plugin\improve\Prepend')) {
|
$prepend = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Prepend']);
|
||||||
require __DIR__ . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Prepend.php';
|
if (!class_exists($prepend)) {
|
||||||
|
require implode(DIRECTORY_SEPARATOR, [__DIR__, 'inc', 'Prepend.php']);
|
||||||
|
|
||||||
if (Dotclear\Plugin\improve\Prepend::init()) {
|
if ($prepend::init()) {
|
||||||
Dotclear\Plugin\improve\Prepend::process();
|
$prepend::process();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (Dotclear\Plugin\improve\Uninstall::init()) {
|
$uninstall = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Uninstall']);
|
||||||
Dotclear\Plugin\improve\Uninstall::process($this);
|
if ($uninstall::init()) {
|
||||||
|
$uninstall::process($this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (Dotclear\Plugin\improve\Manage::init()) {
|
$manage = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Manage']);
|
||||||
Dotclear\Plugin\improve\Manage::process();
|
if ($manage::init()) {
|
||||||
Dotclear\Plugin\improve\Manage::render();
|
$manage::process();
|
||||||
|
$manage::render();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue