mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Show error if originals and storage path seem identical #1642
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -165,7 +165,7 @@ func NewTestConfig(pkg string) *Config {
|
||||
|
||||
s := customize.NewSettings(c.DefaultTheme(), c.DefaultLocale())
|
||||
|
||||
if err := os.MkdirAll(c.ConfigPath(), fs.ModeDir); err != nil {
|
||||
if err := fs.MkdirAll(c.ConfigPath()); err != nil {
|
||||
log.Fatalf("config: %s", err.Error())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user