Mercurial > hg > extraction-interface
comparison index.php @ 77:97c1e5102a22 extractapp
New: export table for a file from LGService
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 16 Apr 2015 14:53:22 +0200 |
parents | 886f43b26ee2 |
children | f1f849d31272 |
comparison
equal
deleted
inserted
replaced
76:c49192885290 | 77:97c1e5102a22 |
---|---|
1 | 1 |
2 <?php | 2 <?php |
3 /*! \file | |
4 * This is the entry of extraction-interface. | |
5 * index.php includes neccessary libraries and create a Loader to handle the controll and actions. | |
6 */ | |
7 | |
8 /* | |
9 * Author: Zoe Hong | |
10 * Version: 1.0 | |
11 * Date: 15.04.2015 | |
12 */ | |
13 | |
3 header("Content-Type: text/html;charset=utf-8"); | 14 header("Content-Type: text/html;charset=utf-8"); |
4 | |
5 // system configiration | 15 // system configiration |
6 include_once('config/Lib_mb_utf8.php'); | 16 include_once('config/Lib_mb_utf8.php'); |
7 include_once('config/config.php'); | 17 include_once('config/config.php'); |
8 | 18 |
9 // require the general classes | 19 // require the general classes |
14 // require the model classes | 24 // require the model classes |
15 require("models/home.php"); | 25 require("models/home.php"); |
16 require("models/extractapp.php"); | 26 require("models/extractapp.php"); |
17 | 27 |
18 // require the controller classes | 28 // require the controller classes |
19 require("controllers/home.php"); | |
20 require("controllers/extractapp.php"); | 29 require("controllers/extractapp.php"); |
30 | |
21 | 31 |
22 // create the controller and execute the action | 32 // create the controller and execute the action |
23 $loader = new Loader($_GET, $_POST); | 33 $loader = new Loader($_GET, $_POST); |
24 | |
25 $controller = $loader->CreateController(); | 34 $controller = $loader->CreateController(); |
26 $controller->ExecuteAction(); | 35 $controller->ExecuteAction(); |
27 | 36 |
37 | |
28 ?> | 38 ?> |