More changes for extension certification process
This commit is contained in:
parent
8c7622eb0b
commit
625c47ab44
2 changed files with 3 additions and 4 deletions
|
@ -64,9 +64,7 @@ class scriptexecute extends GenericController
|
|||
// Make sure that exe is enabled in /etc/php/8.2/fpm/pool.d/phpbb_pool.conf file
|
||||
// See line php_admin_value[disable_functions] =
|
||||
unset($output);
|
||||
// Uncomment this line if you are planning to use this controller.
|
||||
// If was commented out to pass phpBB extension certification process.
|
||||
// exec($execute, $output, $result_code);
|
||||
// Code removed, see 1.0.5
|
||||
} catch (\Exception $e) {
|
||||
$result->response = '{ "error" : "' . $e . '" }';
|
||||
}
|
||||
|
|
|
@ -80,7 +80,8 @@ class AIController
|
|||
$streamedResponse = new StreamedResponse();
|
||||
$streamedResponse->headers->set('X-Accel-Buffering', 'no');
|
||||
$streamedResponse->setCallback(function () {
|
||||
echo 'Processing';
|
||||
// Uncomment to debug callback response
|
||||
// echo 'Processing';
|
||||
flush();
|
||||
});
|
||||
$streamedResponse->send();
|
||||
|
|
Loading…
Reference in a new issue