<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
http://www.neocrome.net
http://www.seditio.org
[BEGIN_SED]
File=pm.php
Version=173
Updated=2012-sep-23
Type=Core
Author=Neocrome
Description=Private messages
[END_SED]
==================== */

define('SED_CODE', TRUE);
define('SED_PM', TRUE);
$location = 'Private_Messages';
$z = 'pm';

require('system/functions.php');
require('datas/config.php');
require('system/common.php');

sed_dieifdisabled($cfg['disable_pm']);

switch($m)
	{
	case 'send':
	require('system/core/pm/pm.send.inc.php');
	break;

	case 'edit':
	require('system/core/pm/pm.edit.inc.php');
	break;

	default:
	require('system/core/pm/pm.inc.php');
	break;
	}

?>
