<?php
/*
* Metafox - flexible content management system
*
* index.php - main script file
* ____________________________________________________________
*
* Developed by Ondrej Jombik <nepto@platon.sk>
* Copyright (c) 2001-2008 Platon Group, http://platon.sk/
* All rights reserved.
*
* See README file for more information about this software.
* See COPYING file for license information.
*
* Download the latest version from
* http://platon.sk/projects/Metafox/
*/
/* $Platon: Metafox/index.php,v 1.6 2012-09-28 18:49:48 nepto Exp $ */
ob_start();
require_once 'subst.inc.php';
/*
* End of output buffering
*/
/*
* Write out HTML code
*/
if (1) {
eval($ezin_tmpl_main->getCode());
// Note, that this cannot be used!
// $ezin_tmpl_main->Output();
} else {
echo '<pre>';
echo Platon::htmlspecialchars($ezin_tmpl_main->getCode());
echo '</pre>';
}
ob_end_flush();
flush();
/*
* Write access into web log
* phpWebLogAnalyzer -- http://platon.sk/projects/phpWebLogAnalyzer/
*/
if ($ezin_weblog != false) {
ezin_register_access();
}
/*
* Closing database connection
*/
ezin_close_db_connection();
?>
Platon Group <platon@platon.sk> http://platon.sk/
|