//@ini_set('display_errors', 'on');
function linkszin($text)
{
return str_replace("http://index.php","index.php",str_replace("http://admin.fisz.hu/engine/editor/","http://www.fisz.hu/ujfisz/",str_replace("");
define("APP_DESIGNER_EMAIL", "");
define("APP_FRAME", "index.php");
define("APP_OPENING_PAGE", "folap");
// define("APP_LOGIN_PAGE", "login");
// define("APP_LOGIN_PAGE2", "login2");
define("APP_ERROR_PAGE", "fatalError");
//debug
// $debugInfo=true;
//SAM include
//shared memory
$SHM_KEY = 67909796;
//$shm_fisz = shm_attach($SHM_KEY, 16777216, 0666);
//$fisz_shm_complex = shm_get_var($shm_fisz,1);
$minute = date("i");
//if ($minute == $fisz_shm_complex["minute"]) {$cache_ok = true;} else {$cache_ok = false; $fisz_shm_complex["minute"] = $minute;}
if ($minute) $cache_ok = true;
// echo $minute;
include("sam/sam.inc");
//include("includes/ko_sql.inc");
include("includes/mysqlconfig.inc");
include("application/functions.app");
include("includes/menu_design.inc");
include("application/main.app");
include("includes/shm_sql_engine.inc");
//shm_detach($shm_fisz);
include("application/printer.app");
/*
* nem perzisztens DB kapcsolat zarasa
*/
mysql_close($defDBConn);
?>