Example #1
0
 * Available at http://www.open-lims.org
 * 
 * This program 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;
 * version 3 of the License.
 * 
 * This program 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/>.
 */
/**
 * 
 */
set_time_limit(0);
header("Content-Type: text/html; charset=utf-8");
define("UNIT_TEST", false);
require_once "config/version.php";
require_once "core/include/base/system/system_config.class.php";
SystemConfig::load_system_config("config/main.php");
date_default_timezone_set($server['timezone']);
require_once "core/include/base/system/template.class.php";
require_once "core/include/base/system/html_template.class.php";
require_once "core/include/base/system/js_template.class.php";
Template::set_fallback_folder("xhtml");
Template::set_current_folder("xhtml");
require_once "core/main.php";
$main = new Main();
$main->init();