personAdmin.php 444 Bytes
<?php

require_once dirname(__FILE__) . '/../config.php';
require_once LIBDIR . 'initLocale.php';
require_once LIBDIR . 'c_personAdmin.php';
require_once LIBDIR . 'c_cache.php';

$cache       = new c_cache (array ('a', 'b'));
$personAdmin = new c_personAdmin ($locale);

ob_start ('ob_gzhandler');

if (! $cache->check (60))
{
	sleep (10);
	$personAdmin->show ();

	$cache->update ();
}
else
{
	print "<p>[kein update]<p>";
}

ob_flush ();

?>