Please fix some bugs and support dockerize
-
Please check and fix the code. Correct line
541
,551
,556
And if deploy on docker, could not be imported if the host port is different from the local port.
Example: When I run WordPress in Docker and expose port as
8080:80
, the function ajax_download_file will usecurl
to download and could not accesslocalhost:8080
, cos that inside the container,localhost:8080
isn’t available. Should belocalhost:80
I have to hot fix like this:
$dmTp = str_replace(':8080', '', $demo[$type]); $file = $this->download_file( $dmTp );
Please consider to fix this or share the source, I can contribute to
- The topic ‘Please fix some bugs and support dockerize’ is closed to new replies.