diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 18:04:12 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-11-08 18:04:12 +0100 |
commit | b8903396199c3437cf980d93c94159a00899a10d (patch) | |
tree | a95a91fa43736e0ee7fa1ae89b3a8df10cd0d1f7 /ratatoeskr/sys/plugin_api.php | |
parent | 57efd9a7ae27b2f0bd98382a1f6b107064585f99 (diff) | |
download | ratatoeskr-cms-b8903396199c3437cf980d93c94159a00899a10d.tar.gz ratatoeskr-cms-b8903396199c3437cf980d93c94159a00899a10d.tar.bz2 ratatoeskr-cms-b8903396199c3437cf980d93c94159a00899a10d.zip |
Make SITE_BASE_PATH a method of Env
This allows us to get rid of utils.php
Diffstat (limited to 'ratatoeskr/sys/plugin_api.php')
-rw-r--r-- | ratatoeskr/sys/plugin_api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatoeskr/sys/plugin_api.php b/ratatoeskr/sys/plugin_api.php index b85ce57..082b605 100644 --- a/ratatoeskr/sys/plugin_api.php +++ b/ratatoeskr/sys/plugin_api.php @@ -96,7 +96,7 @@ abstract class RatatoeskrPlugin */ final protected function get_custompriv_dir() { - return SITE_BASE_PATH . "/ratatoeskr/plugin_extradata/private/" . $this->id; + return $this->env->siteBasePath() . "/ratatoeskr/plugin_extradata/private/" . $this->id; } /** @@ -105,7 +105,7 @@ abstract class RatatoeskrPlugin */ final protected function get_custompub_dir() { - return SITE_BASE_PATH . "/ratatoeskr/plugin_extradata/public/" . $this->id; + return $this->env->siteBasePath() . "/ratatoeskr/plugin_extradata/public/" . $this->id; } /** |