Last active
February 28, 2023 17:11
-
-
Save esedic/46d5467718058a43d3f3b44a9fd2baa1 to your computer and use it in GitHub Desktop.
Joomla system message after redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Joomla\CMS\Factory; | |
use Joomla\CMS\Router\Route; | |
$app = Factory::getApplication(); | |
$app->enqueueMessage('Redirect to another page was successful', 'success'); | |
$app->redirect(Route::_('index.php')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment