mirror of
https://github.com/friendica/friendica
synced 2024-11-13 13:42:53 +00:00
Typo at addon-directory-name ...
This commit is contained in:
parent
f2f8c97b7c
commit
bdfe0c35fb
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class ConfigCacheLoader
|
||||||
* The addon sub-directory
|
* The addon sub-directory
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const ADDONDIRECTORY = '/addon/';
|
const ADDONSDIRECTORY = '/addons/';
|
||||||
|
|
||||||
private $baseDir;
|
private $baseDir;
|
||||||
private $configDir;
|
private $configDir;
|
||||||
|
@ -141,7 +141,7 @@ class ConfigCacheLoader
|
||||||
public function loadConfigFile($filename, $addon = false)
|
public function loadConfigFile($filename, $addon = false)
|
||||||
{
|
{
|
||||||
if ($addon) {
|
if ($addon) {
|
||||||
$filepath = $this->baseDir . self::ADDONDIRECTORY . self::SUBDIRECTORY . $filename . ".config.php";
|
$filepath = $this->baseDir . self::ADDONSDIRECTORY . self::SUBDIRECTORY . $filename . ".config.php";
|
||||||
} else {
|
} else {
|
||||||
$filepath = $this->configDir . $filename . ".config.php";
|
$filepath = $this->configDir . $filename . ".config.php";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue