view index.php @ 122:a36bb5a48af4 extractapp tip

1. remove redundancy server side code. 2. All pop up sub-windows are made with dialog component of bootstrap v3.3.2
author Calvin Yeh <cyeh@mpiwg-berlin.mpg.de>
date Thu, 28 Sep 2017 22:26:48 +0200
parents f1f849d31272
children
line wrap: on
line source

<?php
/*
 * Copyright (c) 2015, Zoe Hong. All rights reserved.
 * Extraction-interface is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Extraction-interface is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.

 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
*/
/*
 * Author: Zoe Hong
 * Version: 0.1
 * Lastest updating date: 15.04.2015
*/

/*! \file
 * This is the entry of Extraction-interface. 
 * index.php includes neccessary libraries and create a Loader to handle the controll and actions.
 * 
*/
 

header("Content-Type: text/html;charset=utf-8");
// system configiration
include_once('config/Lib_mb_utf8.php');
include_once('config/config.php');

// require the general classes
require("classes/loader.php");
require("classes/basecontroller.php");
require("classes/basemodel.php");

// require the model classes
require("models/home.php");
require("models/extractapp.php");

// require the controller classes
require("controllers/extractapp.php");


// create the controller and execute the action
$loader = new Loader($_GET, $_POST);
$controller = $loader->CreateController();
$controller->ExecuteAction();


?>