<?php
/**
 * Extension Install File
 * Does the stuff for the specific extensions
 *
 * @package    Modules Anywhere
 * @version    1.0.0
 * @since      File available since Release 1.0.0
 *
 * @author     Peter van Westen <peter@nonumber.nl>
 * @link       http://www.nonumber.nl/modulesanywhere
 * @copyright  Copyright (C) 2009 NoNumber! All Rights Reserved
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

$_name = 'Modules Anywhere';
$_alias = 'modulesanywhere';
$_ext = $_name.' (system plugin)';

// SYSTEM PLUGIN
	$_states[] = installExtension( $_alias, 'System - '.$_name, 'plugin', array( 'folder'=>'system' ), $queries );

// EDITOR BUTTON PLUGIN
	$_states[] = installExtension( $_alias, 'Editor Button - '.$_name, 'plugin', array( 'folder'=>'editors-xtd' ) );