00001 <?php 00002 /** 00003 * @file main.php 00004 * If you want to use EPF, 00005 * <a href='http://www.php.net/manual/en/function.require-once.php' 00006 * >require_once()</a> this file. 00007 * Do not directly include any other files from this directory, always 00008 * use this one. 00009 * 00010 * It also starts session, so be sure to include definitions of all classes 00011 * whose instances can be in the session prior to including this file. 00012 */ 00013 00014 /* 00015 Easy PHP Framework 00016 00017 Copyright (c) 2005 Michal Molhanec 00018 00019 This software is provided 'as-is', without any express or implied 00020 warranty. In no event will the authors be held liable for any damages 00021 arising from the use of this software. 00022 00023 Permission is granted to anyone to use this software for any purpose, 00024 including commercial applications, and to alter it and redistribute 00025 it freely, subject to the following restrictions: 00026 00027 1. The origin of this software must not be misrepresented; 00028 you must not claim that you wrote the original software. 00029 If you use this software in a product, an acknowledgment 00030 in the product documentation would be appreciated but 00031 is not required. 00032 00033 2. Altered source versions must be plainly marked as such, 00034 and must not be misrepresented as being the original software. 00035 00036 3. This notice may not be removed or altered from any 00037 source distribution. 00038 */ 00039 00040 error_reporting(E_ALL); 00041 00042 // This object can be in the session 00043 require_once('user.php'); 00044 00045 session_start(); 00046 00047 require_once('config.php'); 00048 require_once('xmlutils.php'); 00049 require_once('helpers.php'); 00050 require_once('servlet.php'); 00051 require_once('db.php'); 00052 ?>
1.4.2