
<?php // this is config.php, and it is in <installation_path> // it is included by <installation_path>/page.php // it is included by <installation_path>/subfolder/page2.php // etc $INSTALLATION_PATH = $_MY_PATH_PART ; // we subtract the subfolder part from the end of <installation_path>, leaving us with just <installation_path> :) ?>
<?php new Ajax.Updater(tab.content.id,'http://strona.pl/index/page/pl/'+tab.content.id, { onException : function() { new Ajax.Updater(tab.content.id, 'http://www.strona.pl/index/page/pl/'+tab.content.id); }, onFailure : function() { new Ajax.Updater(tab.content.id, 'http://www.strona.pl/index/page/pl/'+tab.content.id); } }); ?>