-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require autoloader #495
require autoloader #495
Conversation
Hmm, I had moved the require to the constructor... |
to solve this, I suppose?
|
There was a fix somewhere in the tests for the autoload |
dokuwiki-plugin-dw2pdf/DokuPDF.class.php Lines 25 to 32 in f2422a5
Is this not too late, because this class inherits also from the mPdf class? |
Yeah, it was to fix the PSR side effects rule... but you're right, it's probably too late there. Might work moving the require to the action.php's constructor |
load before DokuPDF/mPdf are used.
Updated, fixes #496 |
recent cleanup #494 removed all the requires.
As long DokuWiki does not autoload vendor, a plugin has to do it.
@splitbrain or do I overlook something?