[EP-tech] Programatically find the cfg.d directory

Alan.Stiles alan.stiles at open.ac.uk
Fri Jul 8 15:28:13 BST 2016

Is there a simple way to find the cfg.d directory for an archive from within the archive?
I'm thinking that I want to create a config file to hold e.g. an authorisation token that I've obtained via an API.  It's 1 token per repository so I don't really want to create a database table to just hold that, and I'd rather not try and get an admin to transcribe the token into a config file by hand if I don't have to.

Unless anyone has a better suggestion for how to store it?  Pointers to example code also gratefully received...

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160708/2ec1a652/attachment.html 

More information about the Eprints-tech mailing list