whiteListCom/_prepend.php

11 lines
283 B
PHP
Raw Normal View History

2021-08-17 19:06:58 +00:00
<?php
2023-01-07 22:52:09 +00:00
declare(strict_types=1);
2021-08-17 19:06:58 +00:00
2023-01-07 22:52:09 +00:00
$prepend = implode('\\', ['Dotclear', 'Plugin', basename(__DIR__), 'Prepend']);
if (!class_exists($prepend)) {
require implode(DIRECTORY_SEPARATOR, [__DIR__, 'inc', 'Prepend.php']);
2021-08-17 19:06:58 +00:00
2023-01-07 22:52:09 +00:00
if ($prepend::init()) {
$prepend::process();
2023-01-07 22:28:40 +00:00
}
2023-01-07 22:52:09 +00:00
}