所以爬了一下文找到Moodle官方的文件說明Installing an add-on的用途,也找到的可以disabled的設定。
說明如下:
Preventing installing add-ons from within Moodle
If required, installing and updating from within Moodle can be prevented by copying the following lines of code from config-dist.php and pasting them in config.php.
If required, installing and updating from within Moodle can be prevented by copying the following lines of code from config-dist.php and pasting them in config.php.
// Use the following flag to completely disable the On-click add-on installation
// feature and hide it from the server administration UI.
$CFG->disableonclickaddoninstall = true; //設定不要每次登入時都執行plugin搜尋
參考
沒有留言:
張貼留言
Welcome Moodler, 這個部落格, 我們會搜集我們常被詢問的問題; 歡迎留言.