加载顺序在键下的 settings.json(以及settings
表中)中是“持久的” Hook.bootstraps
。
您可以使用 Settings shell 手动强制排序。查看文档。
# inspect current value
$ Console/cake settings.settings read Hook.bootstraps
Welcome to CakePHP v2.3.7 Console
---------------------------------------------------------------
App : croogo
Path: /home/rachman/work/personal/deploy/croogo/
---------------------------------------------------------------
Settings:
Hook.bootstraps : Settings,Comments,Contacts,Nodes,Meta,Menus,Users,Blocks,Taxonomy,FileManager,Ckeditor,Wysiwyg
# set a new value
$ Console/cake settings.settings write Hook.bootstraps Settings,Ckeditor,Comments,Contacts,Nodes,Meta,Menus,Users,Blocks,Taxonomy,FileManager,Wysiwyg
Welcome to CakePHP v2.3.7 Console
---------------------------------------------------------------
App : croogo
Path: /home/rachman/work/personal/deploy/croogo/
---------------------------------------------------------------
Updating Hook.bootstraps
- Settings,Comments,Contacts,Nodes,Meta,Menus,Users,Blocks,Taxonomy,FileManager,Ckeditor,Wysiwyg
+ Settings,Ckeditor,Comments,Contacts,Nodes,Meta,Menus,Users,Blocks,Taxonomy,FileManager,Wysiwyg
Confirm update (y/n)
[n] > y
Setting updated