register('dms_document_link', array('DMSDocument_Controller', 'dms_link_shortcode_handler')); if (DMSDocument_versions::$enable_versions) { //using the same db relations for the versioned documents, as for the actual documents Config::inst()->update('DMSDocument_versions', 'db', DMSDocument::$db); }