This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
crispage-lite/patch/user/actions/CrispageLite/DefaultAction.php
2023-12-07 14:07:15 -05:00

35 lines
894 B
PHP
Executable File

<?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();
}
}
?>