Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 28. marec 2024

Súbor: [Platon] / Metafox / index.php (stiahnutie)

Revízia 1.4, Mon Sep 4 15:46:01 2006 UTC (17 years, 6 months ago) by nepto


Zmeny od 1.3: +7 -1 [lines]

Added automatic output buffering to Metafox
(this could consume slighly more memory, however can bring better
network performance, since page would not be split into several packet
pieces, but whole page will be put into one bucket, if possible)

<?php

/*
 * Metafox - enterprise content management system
 *
 * index.php - main script file
 * ____________________________________________________________
 *
 * Developed by Ondrej Jombik <nepto@platon.sk>
 * Copyright (c) 2001-2006 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.3 2006-07-09 09:26:05 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 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/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok