cccraig / MugShot

Plugin for piwigo.
MIT License
14 stars 15 forks source link

upgrade to php7.3 yields warning #12

Closed m3eu closed 3 years ago

m3eu commented 4 years ago

After upgrade to php 7.3 the following warning is displayed in the admin page: Warning: Use of undefined constant PSHARE_ADMIN_BASE_URL - assumed 'PSHARE_ADMIN_BASE_URL' (this will throw an Error in a future version of PHP). This also effects the changes for a better UI management, I added a comment in respective pull request.

SOLUTION => ? => replace PSHARE_ADMIN_BASE_URL with MUGSHOT_ADMIN