Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

don't load directories #193

Closed
wants to merge 1 commit into from

Conversation

lazardanlucian
Copy link

due to some filesystems nature ( proemintantly VIP ),
require_once was trying to load a directory
I'm not sure why $abs_path was a directory,
albeit from seeing in the code, the redux autoload class puts $abs_path as /uploads/ + /redux/version , so it might start from there,
while this is a temporary fix for wp-admin not to break in some instances, i'm not sure if other issues are present in the plugin.

due to some filesystems nature ( proemintantly VIP ),
require_once was trying to load a directory
I'm not sure why $abs_path was a directory,
albeit from seeing in the code, the redux autoload class puts $abs_path as /uploads/ + /redux/version , so it might start from there,
while this is a temporary fix for wp-admin not to break in some instances, i'm not sure if other issues are present in the plugin.
@lazardanlucian
Copy link
Author

related to #190

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant