tutor icon indicating copy to clipboard operation
tutor copied to clipboard

Change the composer autoload path

Open halserach opened this issue 2 years ago • 0 comments

Please change tutor.php:21 from "require_once 'vendor/autoload.php'" to "require_once plugin_dir_path(FILE) . 'vendor/autoload.php'". The original line makes sites that use composer in their root directory unable to load /tutor/classes properly. Thank you~

halserach avatar Aug 18 '23 10:08 halserach