config.punchblock.platform
是在配置/ adhearsion.rb在Adhearsion應用。
和
/var/punchblock/record
就是星號運行。
Changing file, folder permissions
是的,這就是我所做的數據庫連接。
Adhearsion.config do |config|
config.adhearsion_activerecord do |db|
db.username = "user"
db.password = "password"
db.database = "database"
db.adapter = "mysql"
db.host = "localhost"
db.port = 3306
end
end
#Centralized way to specify any Adhearsion platform or plugin configuration
#To update a plugin configuration you can write either:
# Option 1
Adhearsion.config.<plugin-name> do |config|
config.<key> = <value>
end
# Option 2
Adhearsion.config do |config|
config.<plugin-name>.<key> = <value>
end
來源
2013-05-03 10:22:49
ajt
謝謝。現在,一些選項如 config.punchblock.media_engine 根本不在配置文件中。我可以自己添加嗎? – Starkers 2013-05-03 12:15:54
這似乎gg :) – ajt 2013-05-03 14:29:56
恐怕我不會失望da kidz。 gg是什麼意思? :P – Starkers 2013-05-03 14:51:26