مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-18 05:49:47 +00:00
create the config directory if it is missing
هذا الالتزام موجود في:
@@ -2,6 +2,11 @@
|
|||||||
require File.expand_path('../../lib/postal/config', __FILE__)
|
require File.expand_path('../../lib/postal/config', __FILE__)
|
||||||
require 'openssl'
|
require 'openssl'
|
||||||
require 'securerandom'
|
require 'securerandom'
|
||||||
|
require 'fileutils'
|
||||||
|
|
||||||
|
unless File.directory?(Postal.config_root)
|
||||||
|
FileUtils.mkdir_p(Postal.config_root)
|
||||||
|
end
|
||||||
|
|
||||||
unless File.exist?(Postal.config_file_path)
|
unless File.exist?(Postal.config_file_path)
|
||||||
content = File.read(Postal.app_root.join('config', 'postal.example.yml'))
|
content = File.read(Postal.app_root.join('config', 'postal.example.yml'))
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم