2015-05-13 38 views
0

Opencart中是否有任何VQMOD類型的插件。任何機構都可以提出類似的評論。我需要這個插件,因爲我想在運行時更改文件而不更改核心文件。moodle的VQMOD插件

回答

1

在Moodle中有一個選項,以覆蓋面向用戶的腳本,但不庫或類等

// Enabling this will allow custom scripts to replace existing moodle scripts. 
// For example: if $CFG->customscripts/course/view.php exists then 
// it will be used instead of $CFG->wwwroot/course/view.php 
// At present this will only work for files that include config.php and are called 
// as part of the url (index.php is implied). 
// Some examples are: 
//  http://my.moodle.site/course/view.php 
//  http://my.moodle.site/index.php 
//  http://my.moodle.site/admin   (index.php implied) 
// Custom scripts should not include config.php 
// Warning: Replacing standard moodle scripts may pose security risks and/or may not 
// be compatible with upgrades. Use this option only if you are aware of the risks 
// involved. 
// Specify the full directory path to the custom scripts 
//  $CFG->customscripts = '/home/example/customscripts';