PATH points to dir if index.php is not in basedir.
Merge branch 'master' of https://github.com/tpm1983/librarian
_ws_mkhash() to produces 40 hexadigit hash, database accepts.