Location: PHPKode > projects > Attachment_doc > attachment_doc/setup.php
<?php

/**
 * setup.php
 *
 * Copyright (c) 2004 Simon Newell <hide@address.com>
 * Licensed under the GNU GPL. For full terms see the file COPYING.
 *  
 * Allows an attachment of mime type application/document (.doc, .pdf, .sxw) to be
 * opened and its contents displayed on browser.
 *
 * Init the plugin when it is first installed into SquirrelMail.
 *
 * @package plugins
 * @subpackage attachment_doc
 */

if (!defined('SM_PATH')) define('SM_PATH','../../');

function attachment_doc_version() {
  return '1.2';
}
   
function squirrelmail_plugin_init_attachment_doc() {
  include_once(SM_PATH . 'plugins/attachment_doc/includes/hooks.php');
}

?>
Return current item: Attachment_doc