35 lines
894 B
PHP
35 lines
894 B
PHP
|
<?php
|
||
|
/*
|
||
|
Crispage CMS
|
||
|
crispycat <the@crispy.cat>
|
||
|
https://crispy.cat/software/crispage
|
||
|
|
||
|
Crispage is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, either version 3 of the License, or
|
||
|
(at your option) any later version.
|
||
|
*/
|
||
|
|
||
|
namespace CrispageLite;
|
||
|
|
||
|
defined("ROOT") or die();
|
||
|
|
||
|
class DefaultAction extends \Crispage\Response\Action {
|
||
|
public static function getExtensionInfo(): array {
|
||
|
return [
|
||
|
"id" => "crispagelite.defaultaction",
|
||
|
"version" => VERSION
|
||
|
];
|
||
|
}
|
||
|
|
||
|
public function __construct(\Crispage $app, array $data) {
|
||
|
parent::__construct($app, $data);
|
||
|
}
|
||
|
|
||
|
public function run(): void {
|
||
|
$this->app->page->setPersistentMessage("lite_installed", "Crispage Lite has been installed successfully.");
|
||
|
$this->app->page->actionFinished();
|
||
|
}
|
||
|
}
|
||
|
?>
|