mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 13:24:48 -04:00
Add new WEB_ROOT constant
This commit is contained in:
parent
f55cf4b7a3
commit
56aaab7152
5 changed files with 8 additions and 6 deletions
|
@ -72,7 +72,7 @@ class Ebook{
|
|||
}
|
||||
|
||||
$this->WwwFilesystemPath = $wwwFilesystemPath;
|
||||
$this->Url = str_replace(SITE_ROOT . '/web/www', '', $this->WwwFilesystemPath);
|
||||
$this->Url = str_replace(WEB_ROOT, '', $this->WwwFilesystemPath);
|
||||
|
||||
$rawMetadata = file_get_contents($wwwFilesystemPath . '/src/epub/content.opf') ?: '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue