<?php

/**
 * iCMS - i Content Management System
 * Copyright (c) 2007-2017 iCMSdev.com. All rights reserved.
 *
 * @author icmsdev <master@icmsdev.com>
 * @site https://www.icmsdev.com
 * @licence https://www.icmsdev.com/LICENSE.html
 */
defined('iPHP') or exit('What are you doing?');

class UserContentApp extends UserCP
{
	public function __construct()
	{
		parent::__construct();
		self::status();
	}
	public function display()
	{
		$app = Request::sget('app');
		if ($app != iAPP::$NAME) {
			$_GET['s'] = $app;
		}
		return self::view('content');
	}
	public function API_content()
	{
		return $this->display();
	}
}
