view index.php @ 82:23b6bd897777 extractapp

book_id as string
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 23 Apr 2015 15:02:14 +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();


?>