seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.44k stars 229 forks source link

Fix COPS Basic Authentication #345

Closed CHBMB closed 7 years ago

CHBMB commented 7 years ago

@chadberg figured this one out, I'm just making the PR. @marioscube pointed me to the fix. I can take no credit for this one at all. I have applied the fix locally and it works for me. https://github.com/seblucas/cops/issues/344 https://github.com/seblucas/cops/issues/342

seblucas commented 7 years ago

Thanks a lot, for future reference the change from require_once to require was done because of that comment