devsuite/cds/plugins/Crispage/DevSuite/CDSPlugin.php
2024-05-27 00:44:14 -04:00

32 lines
657 B
PHP

<?php
namespace Crispage\DevSuite;
defined("ROOT") or die();
require_once ROOT . "/cds/DevSuite.php";
class CDSPlugin extends \Crispage\Framework\PluginClass {
public static function getExtensionInfo(): array {
return [
"id" => "crispage.devsuite.plugins.cdsplugin",
"version" => VERSION,
"package" => "crispage.devsuite"
];
}
public static function getPluginFields(): array {
return [];
}
public function __construct(\Crispage $app, array $data) {
parent::__construct($app, $data);
}
public function run(): void {
global $DevSuite;
$DevSuite = new DevSuite($this->app);
$DevSuite->init();
}
}
?>