Broke image links when UserDir apache modules enabled
-
Hi,
I used your plugin in apache’s UserDir environment, and all my images links are broken. After debugging your code, I found that your method of discovering
site_url(eazyest-gallery.php line 486) uses$_SERVER['DOCUMENT_ROOT']which totally different onUserDirenvironment. Because by default ‘DOCUMENT_ROOT’ on UserDir directory points to Apache’s globalDOCUMENT_ROOT. To get your plugin works, I must setDocumentRootmanually on.htaccessfile.Hope you find a better implementation to discover
site_urlor you can note this on your plugin documentation page.Regards,
Lim
—
The topic ‘Broke image links when UserDir apache modules enabled’ is closed to new replies.