register('dms_document_link', array('DMSDocument_Controller', 'dms_link_shortcode_handler')); if (!file_exists(BASE_PATH . DIRECTORY_SEPARATOR . DMS_DIR)) user_error("DMS directory named incorrectly. Please install the DMS module into a folder named: ".DMS_DIR);