comparison index.php @ 10:1ac66bef193a

Updated to new xml format.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Sat, 21 May 2011 12:46:02 +0200
parents 350a8c63bd14
children ba6f0818018b
comparison
equal deleted inserted replaced
7:350a8c63bd14 10:1ac66bef193a
1 <?php 1 <?php
2 define(DEBUG,0); 2 define(DEBUG,0);
3 define(MAX_RECURSE,50); 3 define(MAX_RECURSE,50);
4 define(CACHING,0);
4 5
5 if (DEBUG) { 6 if (DEBUG) {
6 error_reporting(E_ALL); 7 error_reporting(E_ALL);
7 ini_set("display_errors", 1); 8 ini_set("display_errors", 1);
8 } 9 }
9 10
10 11
12 if(CACHING) {
11 include 'php/cache_check.inc'; 13 include 'php/cache_check.inc';
14 }
12 include 'php/accept-language.inc'; 15 include 'php/accept-language.inc';
13 include 'php/filters.inc'; 16 include 'php/filters.inc';
14 include 'php/common-functions.inc'; 17 include 'php/common-functions.inc';
15 18
16 $URL_PARAMS=array('name','lang'); 19 $URL_PARAMS=array('name','lang');