Conflict with open_basedir
-
Hi!
I’ve got the Warning “is_readable(): open_basedir restriction in effect”.
It happens because WordPress tries to load a language file from the path like
“/website/wp-content/plugins/website\wp-content\plugins\wp-smushit//languages/”
instead of
“/website/wp-content/plugins/wp-smushit/languages/”The problem in the “i18n” function (class-wp-smush.php). You should use “plugin_basename(WP_SMUSH_DIR)” instead of “WP_SMUSH_DIR”.
—
Regards,
Talgat
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conflict with open_basedir’ is closed to new replies.