=')) { require_once ('./facebook/client/facebook.php'); } else { require_once ('./facebook/php4client/facebook.php'); require_once ('./facebook/php4client/facebookapi_php4_restlib.php'); } } $CFG['lang']['include_files'][] = 'languages/%s/general/index.php'; $CFG['html']['header'] = 'general/html_header.php'; $CFG['html']['footer'] = 'general/html_footer.php'; $CFG['is']['ajax_page'] = false; if(isset($_REQUEST['ajax_page']) and $_REQUEST['ajax_page']) { $CFG['is']['ajax_page'] = true; $CFG['html']['is_use_header'] = false; $CFG['html']['is_use_footer'] = false; } $CFG['mods']['include_files'][] = 'common/classes/class_Widget.lib.php'; //compulsory $CFG['mods']['is_include_only']['html_header'] = false; $CFG['html']['is_use_header'] = false; /** * To include application top file */ require($CFG['site']['project_path'].'common/application_top.inc.php'); require('general/index.php'); ?>