Location: PHPKode > projects > Redaxscript > redaxscript/modules/editor/install.php
<?php

/**
 * editor install
 */

function editor_install()
{
	$query = 'INSERT INTO ' . PREFIX . 'modules (name, alias, author, description, version, status, access) VALUES (\'Editor\', \'editor\', \'Redaxmedia\', \'Javascript powered WYSIWYG editor\', \'1.2.1\', 1, 0)';
	mysql_query($query);
}

/**
 * editor uninstall
 */

function editor_uninstall()
{
	$query = 'DELETE FROM ' . PREFIX . 'modules WHERE alias = \'editor\' LIMIT 1';
	mysql_query($query);
}
?>
Return current item: Redaxscript