parent
89d35af83d
commit
7cecc6ad3f
|
@ -74,9 +74,6 @@ class Factory
|
||||||
if (self::useXdg()) {
|
if (self::useXdg()) {
|
||||||
// XDG Base Directory Specifications
|
// XDG Base Directory Specifications
|
||||||
$xdgConfig = getenv('XDG_CONFIG_HOME');
|
$xdgConfig = getenv('XDG_CONFIG_HOME');
|
||||||
if (!$xdgConfig && is_dir('/etc/xdg')) {
|
|
||||||
$xdgConfig = '/etc/xdg';
|
|
||||||
}
|
|
||||||
if (!$xdgConfig) {
|
if (!$xdgConfig) {
|
||||||
$xdgConfig = $userDir . '/.config';
|
$xdgConfig = $userDir . '/.config';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue