芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/cepali/repository/upload/db/install.php
. function xmldb_repository_upload_install() { global $CFG; $result = true; require_once($CFG->dirroot.'/repository/lib.php'); $upload_plugin = new repository_type('upload', array(), true); if (!$id = $upload_plugin->create(true)) { $result = false; } return $result; }