mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Tweak a session variable name and update comments
This commit is contained in:
parent
3050ab7219
commit
11d9d0f44a
12 changed files with 25 additions and 37 deletions
|
@ -7,6 +7,7 @@ $ebook = null;
|
|||
try{
|
||||
try{
|
||||
// Attempt to read a draft ebook repo from the filesystem.
|
||||
// **Important:** The `deploy` script *does not tranfer `.git` folders,* which `Ebook::FromFilesystem()` needs to have. Therefore, use `rsync` to sync Public Domain Day ebooks including their `.git` folders.
|
||||
$ebook = Ebook::FromFilesystem(PD_DAY_DRAFT_PATH . '/' . str_replace('/', '_', preg_replace('|^' . EBOOKS_IDENTIFIER_PREFIX . '|', '', $identifier)));
|
||||
}
|
||||
catch(Exceptions\EbookNotFoundException $ex){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue