dokuwiki-plugin-dw2pdf icon indicating copy to clipboard operation
dokuwiki-plugin-dw2pdf copied to clipboard

Handle cases when there is an open_basedir restriction in effect

Open jeffchulg opened this issue 3 years ago • 0 comments

Hi,

I experience issues with restrictions on open_basedir. The only allowed full path is the one in which the application resides.

Example :

is_file(): open_basedir restriction in effect. File(/lib/styles/../images/error.png) is not within the allowed path(s): (/appdata/sites/MyWiki:/appdata/runtime/MyWiki) in /appdata/sites/MyWiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 11455

I tried to set the basedir config, but if I do so, then the entire wiki is offline !

jeffchulg avatar Mar 31 '22 05:03 jeffchulg