forked from FnacMarketplace/fnacapiclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (29 loc) · 834 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/***
*
* This file is part of the fnacMarketPlace API Client GUI.
* (c) 2013 Fnac
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* -------------------------------------
* Fnac Api Client homepage
*
* @desc This page displays the seller account dashboard with some relevant figures.
*
* @author Somaninn Prok <[email protected]>
*
*/
require_once __DIR__.'/autoload.php';
use FnacApiClient\Client\SimpleClient;
use FnacApiGui\Controller\HomeController;
use FnacApiGui\Model\HomeModel;
use FnacApiGui\View\HomeView;
$client = new SimpleClient();
$client->init(__DIR__.'/config/config.yml');
$m = new HomeModel();
$c = new HomeController($m, $client);
$v = new HomeView($c, $m);
echo $v->output($client);
?>