include("conf.php"); include("modules/utils.inc"); include("/opt/web/Common/htdocs/func/permanent.func.php"); $propList = array("fa", "rn", "ra", "gs", "sw", "vu", "vc", "vr", "vt", "vm", "vs", "vd", "vk", "vp", "ss"); // zapisz tylko niektorych ustawien if ( $update == "1" ) { // pobierz ustawienia zapisane lub domyslne extract( getSettings() ); // poszegolne ustawienia przykryj global $HTTP_GET_VARS; extract( $HTTP_GET_VARS ); } foreach ( $propList as $i ) { $settings .= "$i=" . $$i . " "; } $PERMANENT_VARS["settings"] = $settings; set_permanent_vars(); Header("Location: index.php?PHRASE=$PHRASE&lang=$lang");