We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 781673b + 2b37ffe commit 1303be4Copy full SHA for 1303be4
code/config/config.php
@@ -82,6 +82,16 @@ public function getExtensionPath()
82
return (array) KObjectConfig::unbox($this->getConfig()->extension_path);
83
}
84
85
+ public function getInstallPath()
86
+ {
87
+ return $this->getConfig()->install_path ?? $this->getSitePath('extensions');
88
+ }
89
+
90
+ public function getArchivePath()
91
92
+ return $this->getConfig()->archive_path ?? $this->getConfig()->debug ? $this->getSitePath('extensions') : false;
93
94
95
private function __loadConfig($path)
96
{
97
$options = array();
0 commit comments