seedbox/Dockerfiles/h5ai/h5ai-path.patch

13 lines
712 B
Diff

diff --git a/class-setup.php b/class-setup.php
index 8743dee..663c069 100644
--- a/class-setup.php
+++ b/class-setup.php
@@ -106,7 +106,7 @@ class Setup {
$this->set('H5AI_PATH', Util::normalize_path(dirname(dirname(dirname(dirname(__FILE__)))), false));
$this->set('ROOT_HREF', Util::normalize_path(dirname($this->get('H5AI_HREF')), true));
- $this->set('ROOT_PATH', Util::normalize_path(dirname($this->get('H5AI_PATH')), false));
+ $this->set('ROOT_PATH', '/torrents');
$this->set('PUBLIC_HREF', Util::normalize_path($this->get('H5AI_HREF') . '/public/', true));
$this->set('PUBLIC_PATH', Util::normalize_path($this->get('H5AI_PATH') . '/public/', false));