32 lines
657 B
PHP
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();
|
|
}
|
|
}
|
|
?>
|