Wordpress plugin for serving autogenerated WebP images instead of jpeg/png to browsers that supports WebP
GNU General Public License v3.0
221
stars
63
forks
source link
Fix correct server root path SanityCheck.php #598
Open
gerasart opened 10 months ago
we got issue where server root path has inccorect folder like
.../ca/site
but need that detect real root path like
../ca
and comaprison then works inccorect here
if (!(strpos($input, $beginsWith) === 0)) {
because - $input - correct symlink path root project path - $beginsWith - incorrect.
please check on your side, my changes should works for all.