Make php_plain_files_wrapper to be writable (workaround for swoole)

This commit is contained in:
Dmitry Stogov 2018-10-24 11:49:44 +03:00
parent 5df17425d3
commit 770fe51bfd
3 changed files with 4 additions and 3 deletions

View file

@ -1453,7 +1453,8 @@ static const php_stream_wrapper_ops php_plain_files_wrapper_ops = {
php_plain_files_metadata
};
PHPAPI const php_stream_wrapper php_plain_files_wrapper = {
/* TODO: We have to make php_plain_files_wrapper writable to support SWOOLE */
PHPAPI /*const*/ php_stream_wrapper php_plain_files_wrapper = {
&php_plain_files_wrapper_ops,
NULL,
0