root/dev/mods/xajax/init.php @ 291

Revision 278, 0.7 KB (checked in by ralle030583, 13 years ago)

proccessRequest() must be called before any output in order for xajax to function
(commited for Coni)

Line 
1<?
2// common/includes/class.page.php
3// templates/index.tpl
4// you should not change anything in this file but the image generator / whatever bypass change the functions.php
5$mod = 'xajax';
6if ($page != "thumb" && $page !="mapview" && $page!="sig"){ // bypass some of the image generators..
7        require_once("mods/".$mod."/xajax_core/xajax.inc.php"); // initialize xajax
8        $xajax = new xajax(); // Create xajax object
9        //$xajax->setFlag('debug',true);
10         $xajax->processRequest(); 
11        require_once("mods/".$mod."/functions.php"); // require functions.
12        $xajax->processRequest();
13        require_once("mods/".$mod."/loading.php"); // Setup scripts and html
14       
15}
16
17?>
Note: See TracBrowser for help on using the browser.