[Paulscriptsmods-checkin] ajax_shout/root ajax.php, 1.21.2.22, 1.21.2.23
Status: Beta
Brought to you by:
paulsohier
From: Paul S. <pau...@us...> - 2007-06-20 18:46:14
|
Update of /cvsroot/paulscriptsmods/ajax_shout/root In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15948 Modified Files: Tag: phpbb3_ver ajax.php Log Message: More cortex related stuff Index: ajax.php =================================================================== RCS file: /cvsroot/paulscriptsmods/ajax_shout/root/ajax.php,v retrieving revision 1.21.2.22 retrieving revision 1.21.2.23 diff -C2 -d -r1.21.2.22 -r1.21.2.23 *** ajax.php 19 Jun 2007 14:42:41 -0000 1.21.2.22 --- ajax.php 20 Jun 2007 18:46:14 -0000 1.21.2.23 *************** *** 16,20 **** $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include($phpbb_root_path . 'common.' . $phpEx); error_reporting(0);//Disable error reporting, can be bad for our headers ;) --- 16,33 ---- $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! define('CORTEX_PATH', $phpbb_root_path); // To lazy to change cortex <3 ! ! include ($phpbb_root_path . 'common.' . $phpEx); ! include ($phpbb_root_path . 'includes/cortex-xml/xml.' . $phpEx); ! include ($phpbb_root_path . 'includes/cortex-xml/util.' . $phpEx); ! include ($phpbb_root_path . 'includes/cortex-xml/exception.' . $phpEx); ! ! ! $object = new cortex_xml_element('xml'); ! $object->root = true; ! ! // $object->output_xml(); ! // exit; error_reporting(0);//Disable error reporting, can be bad for our headers ;) |