diff common-functions.inc @ 52:3898353ed1d8

Include fixes. sitemap don't print before everything has been processed. Make a class of accept-language.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 00:48:46 +0200
parents 15879e2aab65
children 2e6ba7259281
line wrap: on
line diff
--- a/common-functions.inc	Tue Oct 09 20:15:20 2012 +0200
+++ b/common-functions.inc	Thu Oct 11 00:48:46 2012 +0200
@@ -1,8 +1,10 @@
 <?php
 include_once 'CacheTimeCheck.inc';
 
+$baseDir = dirname(__FILE__);
+
 $cache = CacheTimeCheck::instance(__FILE__);
-$cache->includeOnce('http-response-status-codes.inc', dirname(__FILE__));
+$cache->includeOnce('http-response-status-codes.inc', $baseDir);
 
 function repMapString($map)
 {