Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

20 行
539B

  1. import Config
  2. config :pleroma, :instance, static_dir: "/var/lib/pleroma/static"
  3. config :pleroma, Pleroma.Uploaders.Local, uploads: "/var/lib/pleroma/uploads"
  4. config_path = System.get_env("PLEROMA_CONFIG_PATH") || "/etc/pleroma/config.exs"
  5. if File.exists?(config_path) do
  6. import_config config_path
  7. else
  8. warning = [
  9. IO.ANSI.red(),
  10. IO.ANSI.bright(),
  11. "!!! #{config_path} not found! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file",
  12. IO.ANSI.reset()
  13. ]
  14. IO.puts(warning)
  15. end