EPrints Technical Mailing List Archive
Message: #05811
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Programatically find the cfg.d directory
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Programatically find the cfg.d directory
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Fri, 8 Jul 2016 14:28:13 +0000
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… Alan. |
- Prev by Date: Re: [EP-tech] Translate citations?
- Next by Date: Re: [EP-tech] Programatically find the cfg.d directory
- Previous by thread: [EP-tech] Translate citations?
- Next by thread: Re: [EP-tech] Programatically find the cfg.d directory
- Index(es):