You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
529 B
25 lines
529 B
2 years ago
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace PhpMyAdmin\Controllers\Export;
|
||
|
|
||
|
use PhpMyAdmin\Controllers\AbstractController;
|
||
|
|
||
|
final class CheckTimeOutController extends AbstractController
|
||
|
{
|
||
|
public function __invoke(): void
|
||
|
{
|
||
|
$this->response->setAjax(true);
|
||
|
|
||
|
if (isset($_SESSION['pma_export_error'])) {
|
||
|
unset($_SESSION['pma_export_error']);
|
||
|
$this->response->addJSON('message', 'timeout');
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
$this->response->addJSON('message', 'success');
|
||
|
}
|
||
|
}
|