當我使用:命令 「更新作曲家」 改變我的parameter.yml
php ../composer.phar update
parameter.yml文件被修改!
是否有任何選項保留自己的parameter.yml文件?
我parameter.yml:
# This file is auto-generated during the composer install
parameters:
database_driver: pdo_mysql
database_driver2: pdo_mysql
database_host: 127.0.0.1
database_host2: 127.0.0.1
database_port: null
database_port2: null
database_name: bissap_forum
database_name2: symfony
database_user: root
database_user2: root
database_password: seb666
database_password2: seb666
mailer_transport: smtp
mailer_transport2: smtp
mailer_host: 127.0.0.1
mailer_host2: 127.0.0.1
mailer_user: null
mailer_user2: null
mailer_password: null
mailer_password2: null
locale: en
secret: ThisTokenIsNotSoSecretChangeIt
而經過更新作曲家
parameter.yml:
# This file is auto-generated during the composer install
parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: null
database_name: bissap_forum
database_user: root
database_password: seb666
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
locale: en
secret: ThisTokenIsNotSoSecretChangeIt
我不明白...
你在修改什麼意思?你的意思是它刪除所有自定義參數? – nowiko