Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 Moodle 2.0开发一个不需要 database的模块。
当数据库中没有表时,我应该如何填写install.xml文件?
谢谢您的帮助。
问候!
如果您不需要数据库,那么您根本不需要install.xml文件。Moodle 仍然会很乐意安装没有插件的插件。
install.xml
请记住,如果您确实想要数据库中的表,创建该文件的最佳方法是使用:
站点管理->开发-> XMLDB 编辑器
这为您提供了一个相对易于使用的 UI,并确保 Moodle 对您的 XML 感到满意。
不要在插件中创建 db 文件夹。